From b9e90dd336c3e87f83f2cea1d8e3a76c3d1e978f Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 23 Aug 2026 15:56:06 +0100 Subject: [PATCH 1/2] Clean up Bats workflow setup --- .github/workflows/ci.yml | 6 +++++- .github/workflows/release.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c980b2..0362634 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,13 @@ jobs: - name: Setup Bats if: runner.os == 'Linux' - uses: bats-core/bats-action@3.0.1 + uses: bats-core/bats-action@4.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} + support-install: false + assert-install: false + detik-install: false + file-install: false - name: Check formatting if: runner.os != 'Windows' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3b7b8a..265f22e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,9 +98,13 @@ jobs: - name: Setup Bats if: runner.os == 'Linux' - uses: bats-core/bats-action@3.0.1 + uses: bats-core/bats-action@4.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} + support-install: false + assert-install: false + detik-install: false + file-install: false - name: Check formatting if: runner.os != 'Windows' From 68ecca98f3c8d81898aa8a7bef3acec6630d136a Mon Sep 17 00:00:00 2001 From: merefield Date: Sun, 23 Aug 2026 16:01:17 +0100 Subject: [PATCH 2/2] Upgrade Node-based workflow actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0362634..3aca7b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,9 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v7 with: go-version: "1.26.6" cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 265f22e..cf81f26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout release tag - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ref: ${{ inputs.tag || github.ref }} @@ -74,7 +74,7 @@ jobs: steps: - name: Checkout validated release - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ref: ${{ needs.validate.outputs.tag }} @@ -91,7 +91,7 @@ jobs: fi - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version: "1.26.6" cache: true @@ -139,7 +139,7 @@ jobs: steps: - name: Checkout validated release - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 persist-credentials: false @@ -157,7 +157,7 @@ jobs: fi - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version: "1.26.6" cache: true