From 662d30edbfdbb0d0079d7b623db359d9fe15f7d0 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 3 Jul 2026 20:07:34 +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/build.yml | 4 ++-- .github/workflows/changelog_update.yml | 2 +- .github/workflows/go.yml | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b50dccd2..d52b208e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,12 +28,12 @@ jobs: name: Run simulation runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: ${{ github.event.inputs.ref }} - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: 'go.mod' cache: true diff --git a/.github/workflows/changelog_update.yml b/.github/workflows/changelog_update.yml index ec5b1073..6da380fc 100644 --- a/.github/workflows/changelog_update.yml +++ b/.github/workflows/changelog_update.yml @@ -15,7 +15,7 @@ jobs: name: Check for CHANGELOG updates runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 862d9040..ebeb1457 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,12 +34,12 @@ jobs: steps: - name: Setup go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Tests run: go test -race ./... @@ -50,18 +50,18 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: 1.26 - name: Check out - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Collect coverage 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: fail_ci_if_error: true files: ./coverage.txt @@ -80,19 +80,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: 'go.mod' - 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