Skip to content

Commit

Permalink
github actions defaults to v1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenglund committed Oct 24, 2023
1 parent 48223b4 commit 881dc58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Fetch dependencies
run: go mod download
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v4
-
name: Run GoReleaser
with:
go-version: '1.21'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
Expand Down

0 comments on commit 881dc58

Please sign in to comment.