CI / ci (pull_request) Failing after 1s
The runner-image repo moved from libretech/ to public/ on Gitea; ci.yml and deploy.yml + docs reference public/runner-image.
38 lines
742 B
YAML
38 lines
742 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
# Bespoke runner image (Ubuntu 24.04 + make + git + node + go via
|
|
# actions/setup-go). See git.librete.ch/public/runner-image.
|
|
container:
|
|
image: git.librete.ch/public/runner-image:v2
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.22"
|
|
cache: true
|
|
|
|
- name: Verify modules
|
|
run: go mod download && go mod verify
|
|
|
|
- name: Vet
|
|
run: make lint
|
|
|
|
- name: Build
|
|
run: make build
|
|
|
|
- name: Test
|
|
run: make test
|