From c0c1f5c35b3b8f735f77d9ba19036c4f95c47535 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 3 Jul 2026 20:07:55 +0300 Subject: [PATCH] .github: fetch fresh actions Get rid of warnings like this: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v8. Signed-off-by: Anna Shaleva --- .github/workflows/go.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 574603a..72914f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -32,13 +32,13 @@ jobs: fail-fast: false steps: - name: Setup go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: cache: true go-version: ${{ matrix.go }} - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Run go test run: go test -race ./... @@ -50,12 +50,12 @@ jobs: env: CGO_ENABLED: 1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: cache: true go-version: 1.26 @@ -64,7 +64,7 @@ jobs: run: go test -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage results to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} slug: nspcc-dev/hrw @@ -87,15 +87,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4