diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 563b9d9b..2a26d588 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,9 +26,9 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 10 steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: test run: make ci diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index eb5b2e5f..e5f9b277 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -26,14 +26,14 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 10 steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: prepare generated code run: make prepare - name: lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: v1.60.3 args: --print-resources-usage --timeout=10m --verbose diff --git a/.golangci.yml b/.golangci.yml index 4c44c5fa..f038fe43 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,9 @@ linters: disable: - errcheck + +linters-settings: + staticcheck: + checks: + - all + - '-SA1019' # We use the ast package.