26 lines
694 B
YAML
26 lines
694 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
name: Check
|
|
runs-on: ubuntu-26.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
|
with:
|
|
# Gitea supplies its own token as GITHUB_TOKEN, which the action would pass to Nix for
|
|
# downloads from GitHub
|
|
github-token: ${{ secrets.GH_PULL_TOKEN }}
|
|
extra-conf: |
|
|
sandbox-fallback = false
|
|
|
|
# Builds the package with its tests, runs clippy, rustfmt, shellcheck and the VM test
|
|
# (which needs KVM), and evaluates the other outputs
|
|
- name: Check the flake
|
|
run: nix flake check -L
|