blog/.forgejo/workflows/test.yaml
Renovate Bot 16f0c750c7
All checks were successful
Test / check (push) Successful in 5s
deps: Update actions/checkout action to v7
2026-11-12 21:48:26 +00:00

28 lines
654 B
YAML

name: Test
on:
push:
branches-ignore:
- main
jobs:
check:
runs-on: nix-latest
# Settings via env, not /etc/nix/nix.conf: in the image that is a
# symlink into /nix/store, which the runner's nix-store volume
# shadows, so it dangles once the image moves on.
env:
NIX_CONFIG: |
experimental-features = nix-command flakes
build-users-group =
sandbox = false
steps:
- name: Prepare container for actions
run: |
nix-env -iA nixpkgs.nodejs_22
- name: Checkout
uses: actions/checkout@v7
- name: Build site
run: nix develop -c zola build