38 lines
802 B
YAML
38 lines
802 B
YAML
name: runner nix smoke
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .gitea/workflows/runner-nix-smoke.yaml
|
|
- flake.lock
|
|
- flake.nix
|
|
- infra/gitea-runners/**
|
|
- lib/**
|
|
- legacy/**
|
|
- nixos/**
|
|
- package/**
|
|
- test/**
|
|
|
|
jobs:
|
|
smoke:
|
|
name: nix label and flake smoke
|
|
runs-on: nix
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4.2.2
|
|
|
|
- name: Nix version and cache configuration
|
|
run: |
|
|
set -eu
|
|
nix --version
|
|
nix config show substituters
|
|
nix config show trusted-public-keys
|
|
|
|
- name: Repository flake evaluation
|
|
run: |
|
|
set -eu
|
|
nix --option eval-cache false flake check --no-build --no-write-lock-file
|