diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc51a05..197d3ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ on: jobs: test: runs-on: ubuntu-latest + env: + GOLANGCI_LINT_VERSION: v2.9 steps: - name: Checkout code uses: actions/checkout@v6 @@ -37,7 +39,7 @@ jobs: - name: 'golangci lint' uses: golangci/golangci-lint-action@v9 with: - version: v2.9 + version: ${{ env.GOLANGCI_LINT_VERSION }} args: --timeout 4m --config .golangci.yaml - name: 'Test (race)'