jj/.github/workflows/nix-linux.yml

25 lines
546 B
YAML
Raw Normal View History

2022-02-20 20:48:51 +00:00
name: Nix on Linux
on:
push:
branches:
- main
2022-02-20 20:48:51 +00:00
pull_request:
permissions: read-all
2022-02-20 20:48:51 +00:00
jobs:
nix:
runs-on: ubuntu-latest
name: nix-build
timeout-minutes: 20
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: cachix/install-nix-action@daddc62a2e67d1decb56e028c9fa68344b9b7c2a
2022-02-20 20:48:51 +00:00
with:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix flake check --print-build-logs --show-trace