Skip to content

Commit

Permalink
Merge pull request #119 from shogo82148/dependabot/github_actions/gor…
Browse files Browse the repository at this point in the history
…eleaser/goreleaser-action-6

Bump goreleaser/goreleaser-action from 5 to 6
  • Loading branch information
shogo82148 authored Aug 23, 2024
2 parents 149574c + 439fe8f commit 9e27b25
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
role-session-tagging: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: "~> v2"
args: release --clean
workdir: .
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
role-session-tagging: true

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: "~> v2"
args: release --clean
workdir: v2
env:
Expand Down
25 changes: 21 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: make test
working-directory: v2

goreleaser-check:
goreleaser-check-v1:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -51,9 +51,26 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check GoReleaser configure v1
uses: goreleaser/goreleaser-action@v5
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: "~> v2"
args: check

goreleaser-check-v2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: check
workdir: v2
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
# You may remove this if you don't use go modules.
Expand Down
2 changes: 2 additions & 0 deletions v2/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
# You may remove this if you don't use go modules.
Expand Down

0 comments on commit 9e27b25

Please sign in to comment.