Skip to content

Commit

Permalink
github/workflows/tests: fix linter by adapting versions
Browse files Browse the repository at this point in the history
  • Loading branch information
schuellerf committed Feb 11, 2025
1 parent bf177d4 commit 1812ff6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:
# for merge queue
merge_group:

env:
GO_VERSION: 1.22
# see https://golangci-lint.run/product/changelog
# to select a version that supports the GO_VERSION given above
GOLANGCI_LINT_VERSION: v1.59.1

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -20,10 +26,10 @@ jobs:
name: "⌨ Lint & unittests"
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: ${{ env.GO_VERSION }}
id: go

- name: Check out code into the Go module directory
Expand All @@ -41,7 +47,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.55.2
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --timeout 5m0s
working-directory: bib

Expand Down

0 comments on commit 1812ff6

Please sign in to comment.