Files
librenotes/.gitea/workflows/ci.yml
T
libretech c0ac049d01 ci(runner-image): switch to public/ namespace (#55)
Co-authored-by: Michael Czechowski <mail@dailysh.it>
Co-committed-by: Michael Czechowski <mail@dailysh.it>
2026-05-02 14:10:56 +02:00

38 lines
818 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:v0.1.0@sha256:9d1e204fe8e06b7d16cdc8da0c7077fa4171daef62099cc8c09993834e576ca5
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