Skip to content

Commit

Permalink
chore: update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jun 12, 2023
1 parent 0700404 commit a8b430d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f
with:
cache: true
go-version: 1.x
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
- name: build
run: go build ./...
- name: test
run: go test ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
- uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5
with:
version: v1.53.2
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ linters:
enable:
- asciicheck
- bodyclose
- depguard
- dogsled
- dupl
- errcheck
Expand Down Expand Up @@ -31,6 +30,7 @@ linters:
- unused
- whitespace
disable:
- depguard
- funlen
- gochecknoglobals
- gocognit
Expand Down

0 comments on commit a8b430d

Please sign in to comment.