Skip to content

Commit

Permalink
Remove setup-go step from lint job (#97)
Browse files Browse the repository at this point in the history
Disabling the cache during the `setup-go` step was probably done to
avoid errors from the `golangci-lint` step
golangci/golangci-lint-action#807,
golangci/golangci-lint-action#244), but the
`setup-go` step isn't actually needed before running `golangci-lint`.
  • Loading branch information
andrew-farries authored Sep 14, 2023
1 parent 4bf2c9f commit b836863
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit b836863

Please sign in to comment.