2022-02-20 20:48:51 +00:00
|
|
|
name: Nix on Linux
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-05-06 16:03:56 +00:00
|
|
|
- main
|
2022-02-20 20:48:51 +00:00
|
|
|
pull_request:
|
|
|
|
|
2022-03-16 19:18:01 +00:00
|
|
|
permissions: read-all
|
|
|
|
|
2022-02-20 20:48:51 +00:00
|
|
|
jobs:
|
|
|
|
nix:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: nix-build
|
|
|
|
timeout-minutes: 20
|
|
|
|
steps:
|
2023-03-24 16:01:01 +00:00
|
|
|
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
|
2022-02-20 20:48:51 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-03-01 16:04:17 +00:00
|
|
|
- uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a
|
2022-02-20 20:48:51 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
experimental-features = nix-command flakes
|
2022-05-05 15:36:59 +00:00
|
|
|
- run: nix flake check --print-build-logs --show-trace
|