diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49988bf..bf81fb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,16 +28,16 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod # The linter set and its settings are pinned in .golangci.yml; only the # binary version is decided here. golangci-lint v2 is required — the config # file declares `version: "2"`. - - uses: golangci/golangci-lint-action@v8 + - uses: golangci/golangci-lint-action@v9 with: version: v2.12.2 @@ -57,9 +57,9 @@ jobs: - ubuntu-latest - macos-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod @@ -77,9 +77,9 @@ jobs: name: examples runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod @@ -96,9 +96,9 @@ jobs: # Makefile, so give the job enough room to report rather than be killed. timeout-minutes: 30 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod @@ -124,9 +124,9 @@ jobs: name: security runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod @@ -187,11 +187,11 @@ jobs: && !startsWith(github.head_ref, 'release/') && !contains(github.event.pull_request.labels.*.name, 'skip-changelog') steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: miniscruff/changie-action@v2 + - uses: miniscruff/changie-action@v3 with: version: latest args: --version @@ -227,11 +227,11 @@ jobs: # The trunk variant builds six targets and three images. timeout-minutes: 30 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod @@ -244,7 +244,7 @@ jobs: # (see the comment on it in .goreleaser.yaml), so the verdict is taken from # the message instead: "configuration is valid" is the pass condition, and # anything else — a bad key, a broken template — still fails the job. - - uses: goreleaser/goreleaser-action@v6 + - uses: goreleaser/goreleaser-action@v7 with: version: '~> v2' install-only: true @@ -274,10 +274,10 @@ jobs: # Dockerfile target that no longer exists — both of which would only # surface during a real release. Slower, and it belongs here rather than on # every PR. - - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-qemu-action@v4 if: github.event_name == 'push' - - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-buildx-action@v4 if: github.event_name == 'push' - name: goreleaser release --snapshot (trunk) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 7a5067f..bb076ae 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -45,19 +45,19 @@ jobs: # pushed as the bot too: a branch pushed with GITHUB_TOKEN does not trigger # workflows, and neither does a PR opened with it — the release PR would # then sit there with no CI on the very commit that gets tagged. - - uses: actions/create-github-app-token@v2 + - uses: actions/create-github-app-token@v3 id: app-token with: app-id: ${{ secrets.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} owner: ${{ github.repository_owner }} - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ steps.app-token.outputs.token }} - - uses: miniscruff/changie-action@v2 + - uses: miniscruff/changie-action@v3 with: version: latest args: --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50be920..1e20d0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,25 +43,25 @@ jobs: # so a misconfigured release stops before the tag exists. An earlier revision # let goreleaser skip the Homebrew upload with a warning nobody reads, and # v1.0.0 shipped with no formula in the tap. - - uses: actions/create-github-app-token@v2 + - uses: actions/create-github-app-token@v3 id: app-token with: app-id: ${{ secrets.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} owner: ${{ github.repository_owner }} - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 with: fetch-depth: 0 # So the tag below is pushed by the bot, matching the author it is # stamped with and the identity that publishes everything downstream. token: ${{ steps.app-token.outputs.token }} - - uses: actions/setup-go@v6 + - uses: actions/setup-go@v7 with: go-version-file: go.mod - - uses: miniscruff/changie-action@v2 + - uses: miniscruff/changie-action@v3 with: version: latest args: --version @@ -114,13 +114,13 @@ jobs: git push origin "$VERSION" # goreleaser reads the multi-arch images out of this builder. - - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-qemu-action@v4 if: steps.version.outputs.skip == 'false' - - uses: docker/setup-buildx-action@v3 + - uses: docker/setup-buildx-action@v4 if: steps.version.outputs.skip == 'false' - - uses: docker/login-action@v3 + - uses: docker/login-action@v4 if: steps.version.outputs.skip == 'false' with: registry: ghcr.io @@ -129,7 +129,7 @@ jobs: - name: goreleaser release if: steps.version.outputs.skip == 'false' - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: version: '~> v2' args: release --clean --release-notes .changes/${{ steps.version.outputs.version }}.md