try nix cache
This commit is contained in:
parent
718d58b6ac
commit
47cd375a44
1 changed files with 5 additions and 2 deletions
|
@ -10,10 +10,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Checkout
|
name: Checkout
|
||||||
- name: test
|
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
nix develop -c cargo nextest run --run-ignored all
|
nix develop -c cargo nextest run --run-ignored all
|
||||||
- name: release build
|
- name: Build release
|
||||||
run: |
|
run: |
|
||||||
nix develop -c cargo build --release
|
nix develop -c cargo build --release
|
||||||
build-nix:
|
build-nix:
|
||||||
|
@ -21,6 +22,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name:
|
- name:
|
||||||
run: |
|
run: |
|
||||||
nix build
|
nix build
|
||||||
|
@ -32,6 +34,7 @@ jobs:
|
||||||
- name: Metadata
|
- name: Metadata
|
||||||
run: |
|
run: |
|
||||||
nix flake metadata
|
nix flake metadata
|
||||||
|
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Statix
|
- name: Statix
|
||||||
run: |
|
run: |
|
||||||
nix develop -c statix check
|
nix develop -c statix check
|
||||||
|
|
Loading…
Reference in a new issue