diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c980b2..3aca7b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,18 +19,22 @@ 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 - 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..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,16 +91,20 @@ jobs: fi - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version: "1.26.6" cache: true - 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' @@ -135,7 +139,7 @@ jobs: steps: - name: Checkout validated release - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 persist-credentials: false @@ -153,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