2024-02-08 23:35:43 +00:00
|
|
|
name: Nix actions
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
nix-flake-check:
|
2024-02-08 23:40:53 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-02-08 23:48:38 +00:00
|
|
|
os: [ubuntu-latest]
|
2024-02-08 23:40:53 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
2024-02-08 23:35:43 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: cachix/install-nix-action@v24
|
|
|
|
with:
|
|
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Run checks
|
|
|
|
run: nix flake check -L
|