Some checks failed
ci / build (push) Failing after 1m4s
- Downgrade actions/setup-go from v6 to v5 (node24 not supported) - Downgrade goreleaser-action from v6 to v5 - Add CI workflow with goreleaser snapshot on push to main - Add .goreleaser.yaml configuration
32 lines
577 B
YAML
32 lines
577 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
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: Lint
|
|
run: make lint
|
|
|
|
- name: Test
|
|
run: make test
|
|
|
|
- name: GoReleaser Check
|
|
uses: https://github.com/goreleaser/goreleaser-action@v5
|
|
with:
|
|
args: release --snapshot --skip=publish --clean
|