From c764e205768fdbb5f17c31ccc96fb525bae0a6a9 Mon Sep 17 00:00:00 2001 From: Rico Date: Sat, 10 Feb 2024 16:20:06 +0100 Subject: [PATCH] ci: update gh actions to use nodejs >= 20 --- .github/workflows/changelog_reminder.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/release_build.yml | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/changelog_reminder.yml b/.github/workflows/changelog_reminder.yml index 603e688..0a4296c 100644 --- a/.github/workflows/changelog_reminder.yml +++ b/.github/workflows/changelog_reminder.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Changelog Reminder uses: mskelton/changelog-reminder-action@v3 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d028084..c6bd9e8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 37fb44f..f31d720 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -14,14 +14,14 @@ jobs: contents: write steps: - - name: Set up Go 1.21 - uses: actions/setup-go@v3 + - name: Set up Go 1.22 + uses: actions/setup-go@v5 with: - go-version: ^1.21 + go-version: ^1.22 id: go - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # See: https://goreleaser.com/ci/actions/ @@ -45,7 +45,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: release --clean --config .github/goreleaser.yml