Skip to content

Commit

Permalink
CI: update to the latest goreleaser version
Browse files Browse the repository at this point in the history
It seems like our config is still valid,
as we aren't affected by anything recent outlined in
https://goreleaser.com/deprecations/ since v1.1.0.

I ran both v1.1.0 and v1.8.2 locally via

	goreleaser build --skip-validate

and on both versions the tool appears to work.
It seems safer to stick to the latest stable version.

Change-Id: I8a11bc3820fd9a28a09b2eb86dee7cae3bd3e74d
Signed-off-by: Daniel Martí <[email protected]>
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/536754
Unity-Result: CUEcueckoo <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
  • Loading branch information
mvdan committed Apr 20, 2022
1 parent 37cc8ac commit 256f1f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
version: v1.1.0
version: v1.8.2
env:
GITHUB_TOKEN: ${{ secrets.CUECKOO_GITHUB_PAT }}
- name: Re-test cuelang.org
Expand Down
4 changes: 2 additions & 2 deletions cmd/cue/cmd/testdata/script/cmd_github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
version: v1.1.0
version: v1.8.2
env:
GITHUB_TOKEN: ${{ secrets.CUECKOO_GITHUB_PAT }}
- name: Re-test cuelang.org
Expand Down Expand Up @@ -1259,7 +1259,7 @@ release: _#bashWorkflow & {
uses: "goreleaser/goreleaser-action@v2"
with: {
args: "release --rm-dist"
version: "v1.1.0"
version: "v1.8.2"
}
}, _#step & {
_#arg: {
Expand Down
8 changes: 4 additions & 4 deletions cue/testdata/eval/github.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ release: _#bashWorkflow & {
uses: "goreleaser/goreleaser-action@v2"
with: {
args: "release --rm-dist"
version: "v1.1.0"
version: "v1.8.2"
}
}, _#step & {
_#arg: {
Expand Down Expand Up @@ -1413,7 +1413,7 @@ import "strings"
uses: (string){ "goreleaser/goreleaser-action@v2" }
with: (#struct){
args: (string){ "release --rm-dist" }
version: (string){ "v1.1.0" }
version: (string){ "v1.8.2" }
}
}
6: (#struct){
Expand Down Expand Up @@ -1925,7 +1925,7 @@ import "strings"
uses: (string){ "goreleaser/goreleaser-action@v2" }
with: (#struct){
args: (string){ "release --rm-dist" }
version: (string){ "v1.1.0" }
version: (string){ "v1.8.2" }
}
}
6: (#struct){
Expand Down Expand Up @@ -2414,7 +2414,7 @@ import "strings"
uses: "goreleaser/goreleaser-action@v2"
with: {
args: "release --rm-dist"
version: "v1.1.0"
version: "v1.8.2"
}
}),
(〈4;_#step〉 & {
Expand Down
2 changes: 1 addition & 1 deletion internal/ci/workflows.cue
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ release: _#bashWorkflow & {
uses: "goreleaser/goreleaser-action@v2"
with: {
args: "release --rm-dist"
version: "v1.1.0"
version: "v1.8.2"
}
},
_#step & {
Expand Down

0 comments on commit 256f1f9

Please sign in to comment.