Skip to content

Commit 41f0ced

Browse files
feat!: upgrade goreleaser to 2.3.2
1 parent 2ac6ea4 commit 41f0ced

File tree

429 files changed

+6672
-4695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+6672
-4695
lines changed

cmd/hooks-goreleaser/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
hooksGoReleaser "github.com/go-semantic-release/hooks-goreleaser/pkg/hooks"
4+
hooksGoReleaser "github.com/go-semantic-release/hooks-goreleaser/v2/pkg/hooks"
55
"github.com/go-semantic-release/semantic-release/v2/pkg/hooks"
66
"github.com/go-semantic-release/semantic-release/v2/pkg/plugin"
77
)

go.mod

Lines changed: 82 additions & 75 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 198 additions & 176 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Ask a question
4-
url: https://github.com/goreleaser/goreleaser/discussions
5-
about: Ask questions and discuss with other community members
6-
3+
- name: Ask a question
4+
url: https://github.com/goreleaser/goreleaser/discussions
5+
about: Please ask questions here.
6+
- name: Chat on Discord
7+
url: https://goreleaser.com/discord
8+
about: Join our discord to chat about GoReleaser.

goreleaser/.github/workflows/build.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,30 @@ jobs:
2929
env:
3030
DOCKER_CLI_EXPERIMENTAL: "enabled"
3131
steps:
32-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v3
32+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
3333
with:
3434
fetch-depth: 0
3535
- uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v1
3636
with:
3737
version: 3.x
3838
repo-token: ${{ secrets.GITHUB_TOKEN }}
39-
- uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v2
40-
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3
39+
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v2
40+
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3
4141
- name: setup-snapcraft
42-
# FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715
4342
run: |
4443
sudo apt-get update
4544
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
46-
mkdir -p $HOME/.cache/snapcraft/download
47-
mkdir -p $HOME/.cache/snapcraft/stage-packages
4845
- uses: crazy-max/ghaction-upx@v3
4946
with:
5047
install-only: true
51-
- uses: cachix/install-nix-action@V27
48+
- uses: cachix/install-nix-action@V28
5249
with:
5350
github_access_token: ${{ secrets.GITHUB_TOKEN }}
54-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v4
51+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v4
5552
with:
5653
go-version: stable
57-
- uses: sigstore/cosign-installer@v3.5.0
58-
- uses: anchore/sbom-action/download-syft@v0.16.0
54+
- uses: sigstore/cosign-installer@v3.6.0
55+
- uses: anchore/sbom-action/download-syft@v0.17.2
5956
- name: setup-validate-krew-manifest
6057
run: go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
6158
- name: setup
@@ -64,8 +61,14 @@ jobs:
6461
task build
6562
- name: test
6663
run: task test
67-
- uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4
64+
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4
6865
with:
6966
file: ./coverage.txt
70-
- run: ./goreleaser check
7167
- run: git diff
68+
check:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
72+
with:
73+
fetch-depth: 0
74+
- run: go run . check

goreleaser/.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
contents: read
1616

1717
steps:
18-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v3
19-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v4
18+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
19+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v4
2020
with:
2121
go-version: stable
22-
- uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v2
23-
- uses: github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276 # v2
24-
- uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v2
22+
- uses: github/codeql-action/init@8214744c546c1e5c8f03dde8fab3a7353211988d # v3
23+
- uses: github/codeql-action/autobuild@8214744c546c1e5c8f03dde8fab3a7353211988d # v3
24+
- uses: github/codeql-action/analyze@8214744c546c1e5c8f03dde8fab3a7353211988d # v3
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# see https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
2+
3+
name: dependabot
4+
5+
on:
6+
pull_request:
7+
8+
permissions:
9+
pull-requests: write
10+
11+
jobs:
12+
automation:
13+
runs-on: ubuntu-latest
14+
if: github.actor == 'dependabot[bot]'
15+
steps:
16+
- id: metadata
17+
uses: dependabot/fetch-metadata@dbb049abf0d677abbd7f7eee0375145b417fdd34 # v2.2.0
18+
with:
19+
github-token: "${{ secrets.GITHUB_TOKEN }}"
20+
21+
- run: gh pr review --approve "$PR_URL"
22+
env:
23+
PR_URL: ${{github.event.pull_request.html_url}}
24+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

goreleaser/.github/workflows/depsreview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
dependency-review:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v3
11+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1212
- uses: actions/dependency-review-action@v4
1313
with:
1414
allow-licenses: BSD-2-Clause, BSD-3-Clause, MIT, Apache-2.0, MPL-2.0, ISC

goreleaser/.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
htmltest:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v3
23-
- uses: cachix/install-nix-action@V27
22+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
23+
- uses: cachix/install-nix-action@V28
2424
with:
2525
nix_path: nixpkgs=channel:nixos-unstable
2626
github_access_token: ${{ secrets.GITHUB_TOKEN }}

goreleaser/.github/workflows/generate.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
contents: write
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v3
15+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1616
with:
1717
token: ${{ secrets.GH_PAT }}
18-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v4
18+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v4
1919
with:
2020
go-version: stable
2121
cache: true
@@ -28,7 +28,7 @@ jobs:
2828
- run: task docs:releases
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
- uses: cachix/install-nix-action@V27
31+
- uses: cachix/install-nix-action@V28
3232
with:
3333
github_access_token: ${{ secrets.GITHUB_TOKEN }}
3434
- run: task docs:generate
@@ -37,6 +37,7 @@ jobs:
3737
- run: task nix:flake:update
3838
- run: task nix:flake:update-vendor
3939
- run: task schema:validate
40+
- run: "git pull"
4041
- uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5
4142
with:
4243
commit_message: "chore: auto-update generated files"

0 commit comments

Comments
 (0)