Skip to content

fix: remove goreleaser flag #24

fix: remove goreleaser flag

fix: remove goreleaser flag #24

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Tests
run: |
go mod tidy
diff -u <(echo -n) <(gofmt -d .)
go vet $(go list ./... | grep -v /vendor/)
go test -v -race ./...
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}