try nix cache
All checks were successful
build / check-nix (push) Successful in 2m39s
build / build-cargo (push) Successful in 3m0s
build / build-nix (push) Successful in 2m56s

This commit is contained in:
Cyryl Płotnicki 2024-04-21 20:01:06 +01:00
parent 718d58b6ac
commit 47cd375a44

View file

@ -10,10 +10,11 @@ jobs:
steps:
- uses: actions/checkout@v3
name: Checkout
- name: test
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Run tests
run: |
nix develop -c cargo nextest run --run-ignored all
- name: release build
- name: Build release
run: |
nix develop -c cargo build --release
build-nix:
@ -21,6 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v3
name: Checkout
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name:
run: |
nix build
@ -32,6 +34,7 @@ jobs:
- name: Metadata
run: |
nix flake metadata
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Statix
run: |
nix develop -c statix check