From f074b16dd7dd18b8d5ccc3be4792ce7babcfeae4 Mon Sep 17 00:00:00 2001 From: Marc Brooks Date: Wed, 24 Sep 2025 13:10:34 -0500 Subject: [PATCH] Cleaning up action versions Update setup-node to v5 Update setup-go to v5 (removed restriction to specific minor/patch) Updated the golangci-lint action to use @v5 of both checkout and setup-go. Now internally uses: - go version oldstable (e.g. 1.24.7 as of 2025-09-24) - golangci-lint version v2.1 --- .github/workflows/build.yml | 4 ++-- .github/workflows/golangci-lint.yml | 10 +++++----- .github/workflows/ui-lint.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ba5444a..3ff10a2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,13 +17,13 @@ jobs: - name: Checkout uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "22" cache: "npm" cache-dependency-path: "**/package-lock.json" - name: Set up Golang - uses: actions/setup-go@v5.5.0 + uses: actions/setup-go@v5 with: go-version: "1.24.4" - name: Build frontend diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 6eb2978d..d98432de 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,16 +22,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 + uses: actions/checkout@v5 - name: Install Go - uses: actions/setup-go@fa96338abe5531f6e34c5cc0bbe28c1a533d5505 # v4.2.1 + uses: actions/setup-go@v5 with: - go-version: 1.24.4 + go-version: oldstable - name: Create empty resource directory run: | mkdir -p static && touch static/.gitkeep - name: Lint - uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0 + uses: golangci/golangci-lint-action@v8 with: args: --verbose - version: v2.0.2 + version: v2.1 diff --git a/.github/workflows/ui-lint.yml b/.github/workflows/ui-lint.yml index 32374d33..97d6af8c 100644 --- a/.github/workflows/ui-lint.yml +++ b/.github/workflows/ui-lint.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "22" cache: "npm"