mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-24 21:13:47 +00:00
Add nix check workflow
This commit is contained in:
parent
50b8357234
commit
327ea5390d
1 changed files with 22 additions and 0 deletions
22
.github/workflows/nix-linux.yml
vendored
Normal file
22
.github/workflows/nix-linux.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Nix on Linux
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
nix:
|
||||
runs-on: ubuntu-latest
|
||||
name: nix-build
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: cachix/install-nix-action@v14.1
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- run: nix flake check --print-build-logs --show-trace --override-input nixpkgs github:NixOS/nixpkgs
|
Loading…
Reference in a new issue