Skip to content

Commit

Permalink
CI: fix test workflow (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrnorm authored Feb 23, 2023
1 parent 28513e7 commit 7c25334
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -30,10 +30,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17.8

- name: Build
run: go build cmd/server/main.go
go-version: 1.19.0

- name: Lint
run: go vet ./...
Expand All @@ -47,9 +44,10 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.17.8
go-version: 1.19.0
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.29
version: v1.50.0
args: --timeout=10m

0 comments on commit 7c25334

Please sign in to comment.