Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Sep 7, 2024
1 parent c769723 commit d0ca710
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
steps:

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Go
id: go
uses: actions/setup-go@v5
with:
go-version: stable
check-latest: true
id: go

- name: Get dependencies
run: |
Expand All @@ -30,11 +33,13 @@ jobs:
run: |
go test -race ./... && go vet ./...
- uses: goreleaser/goreleaser-action@v6
- name: Build
uses: goreleaser/goreleaser-action@v6
with:
args: build

- uses: goreleaser/goreleaser-action@v6
- name: Release
uses: goreleaser/goreleaser-action@v6
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
version: latest
Expand Down

0 comments on commit d0ca710

Please sign in to comment.