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

23 lines
552 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
2022-02-20 20:48:51 +00:00
name: nix-build
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e
- uses: DeterminateSystems/magic-nix-cache-action@eeabdb06718ac63a7021c6132129679a8e22d0c7
- run: nix build --print-build-logs --show-trace