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:
|
2022-12-13 18:51:48 +00:00
|
|
|
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
2022-02-20 20:48:51 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-10-12 15:31:02 +00:00
|
|
|
- uses: cachix/install-nix-action@daddc62a2e67d1decb56e028c9fa68344b9b7c2a
|
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
|