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@07b8bcba1b22d847db7ee507180c33e115499665
- uses: DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1
- run: nix build --print-build-logs --show-trace