Skip to content

Commit

Permalink
Fix: github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jul 17, 2023
1 parent 7753501 commit 8258c64
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,25 @@ on: push

jobs:
golangci:
name: lint
name: Run linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/[email protected]
- uses: actions/setup-go@v3
with:
version: v1.49.0
args: --timeout=2m
working-directory: rest
go-version: '1.19'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.3.0
uses: golangci/golangci-lint-action@v3
with:
version: v1.45.2
args: --timeout=2m
working-directory: websocket
version: v1.51.2
args: --timeout=3m
test:
runs-on: ubuntu-latest
steps:
- name: install Go
uses: actions/setup-go@v2
with:
go-version: 1.18.x
go-version: 1.19.x
- name: checkout code
uses: actions/checkout@v2
- uses: actions/cache@v2
Expand Down

0 comments on commit 8258c64

Please sign in to comment.