Skip to content

Commit

Permalink
chore: update Go version and linter in GitHub Actions workflow
Browse files Browse the repository at this point in the history
The Go version and the linter version in the GitHub Actions workflow have been updated. The Go version was changed from 'stable' to '1.21' to ensure compatibility with recent codebase changes. The linter version was also updated from v1.53 to v1.54 to take advantage of new linting features and fix detected false positives.
  • Loading branch information
iagapie committed Sep 20, 2023
1 parent 0b26701 commit c2b712a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
go-version: '1.21'

- name: Run linter
uses: golangci/golangci-lint-action@v3.6.0
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
version: v1.54
args: -v --build-tags=race --timeout=5m

test:
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
go-version: '1.21'

- name: Check out code
uses: actions/checkout@v3
Expand Down

0 comments on commit c2b712a

Please sign in to comment.