From 963da11bebef2715289546df44bf743398cd6ecd Mon Sep 17 00:00:00 2001 From: FlopBut Date: Sun, 24 May 2026 14:35:51 +0200 Subject: [PATCH] ci(flo-166): bump GitHub Actions off deprecated Node.js 20 runtime GitHub forces Node.js 24 on hosted runners 2026-06-02 and removes Node 20 on 2026-09-16. Bump every JavaScript action across all workflows to the major version whose action.yml declares runs.using: node24, verified per tag: actions/checkout v4 -> v5 actions/setup-node v4 -> v5 actions/setup-go v5 -> v6 actions/configure-pages v4 -> v6 actions/upload-pages-artifact v3 -> v5 actions/deploy-pages v4 -> v5 docker/setup-buildx-action v3 -> v4 docker/login-action v3 -> v4 docker/metadata-action v5 -> v6 docker/build-push-action v5 -> v7 paperclip-issue-sync.yml uses only run-steps (no JS actions), unchanged. Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/deploy.yml | 2 +- .github/workflows/docs.yml | 10 +++++----- .github/workflows/release.yml | 10 +++++----- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cf1878..4005398 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: name: Build & Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: "22" cache: npm @@ -23,7 +23,7 @@ jobs: working-directory: frontend run: npm ci && npm run build - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version: "1.23" cache: true @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest needs: test steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Build image run: docker compose build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 40d96aa..d2d398c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: CLOUDFLARE_TUNNEL_TOKEN: ${{ secrets.CLOUDFLARE_TUNNEL_TOKEN }} COTEL_PUBLIC_INGEST_URL: ${{ secrets.COTEL_PUBLIC_INGEST_URL }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Build image run: docker compose build --pull diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9ece7d1..90c2a38 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,9 +21,9 @@ jobs: name: Build VitePress docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: '22' cache: npm @@ -38,10 +38,10 @@ jobs: run: npm run build - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v6 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: docs/.vitepress/dist @@ -55,4 +55,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d108ac..587bb10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: exit 1 fi - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -106,10 +106,10 @@ jobs: git push origin "${{ steps.version.outputs.tag }}" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Log in to GHCR - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -117,7 +117,7 @@ jobs: - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | @@ -126,7 +126,7 @@ jobs: type=raw,value=latest - name: Build and push Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . push: true