ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/.github/workflows/nix-linux.yml

25 lines
594 B
YAML
Raw Normal View History

2022-02-20 20:48:51 +00:00
name: Nix on Linux
on:
push:
branches:
- master
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@a12a3943b4bdde767164f792f33f40b04645d846
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: cachix/install-nix-action@d56f3ce9be45c562799280e8a561fbbe8f36de44
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 --override-input nixpkgs github:NixOS/nixpkgs