Skip to content

Commit

Permalink
BUG/MINOR: ci: resolve goreleaser build procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Apr 17, 2023
1 parent 70ac7a2 commit a17d6a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version-file: 'go.mod'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
version: 1.17.1
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
GOMOD_VERSION=$(cat go.mod | grep -i "^go " | sed -e "s/go //g")
echo "GOMOD_VERSION=${GOMOD_VERSION}" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: "${{ env.GOMOD_VERSION }}"
go-version-file: 'go.mod'
- name: generating documentation
run: cd documentation/gen && go run .
- name: changes
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v2
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v2
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v2
Expand All @@ -103,7 +103,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v2
Expand All @@ -130,7 +130,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: actions/cache@v2
Expand Down

0 comments on commit a17d6a4

Please sign in to comment.