forgejo-runner-optimiser/.github/workflows/ci.yaml
Manuel Ganter 820ebb72ac
Some checks failed
ci / build (push) Failing after 1m4s
fix(ci): use compatible action versions for Forgejo runner
- 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
2026-02-04 14:46:51 +01:00

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