forgejo-runner-sizer/.github/workflows/ci.yaml
Manuel Ganter d1cc6e3c15
Some checks failed
ci / goreleaser (push) Failing after 28s
ci / build (push) Successful in 1m7s
fix(ci): unset GITHUB_TOKEN to avoid conflict with GITEA_TOKEN
2026-02-04 14:54:51 +01:00

34 lines
617 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
env:
GITHUB_TOKEN: ""
with:
args: release --snapshot --skip=publish --clean