parsimony/.forgejo/workflows/ci.yaml
tgiachi 1d68f9506b ci: describe the runner the workflows expect
- ci.yaml asks for a docker-labelled runner and runs jobs in the named containers
- e2e.yaml says what it needs from a runner and that it has not been run on one
2026-11-10 15:54:29 +01:00

32 lines
746 B
YAML

# Runs on Forgejo Actions. The jobs ask for a runner labelled `docker` that runs each job in the
# container named below; change `runs-on` if your runner is labelled differently.
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
go:
runs-on: docker
container: golang:1.27
steps:
- uses: actions/checkout@v4
- run: make go-ci
admin:
runs-on: docker
container: node:24
steps:
- uses: actions/checkout@v4
- run: make admin-ci
# Separate job: a vulnerability published tomorrow must not make an unrelated change look broken,
# but it should be visible.
vuln:
runs-on: docker
container: golang:1.27
steps:
- uses: actions/checkout@v4
- run: make vuln