gitea actions: use cache for nix
Some checks failed
flake / flake (push) Has been cancelled

This commit is contained in:
Jake Hillion 2024-08-30 16:35:35 +01:00
parent 6cc70e117d
commit 89e995b002

View File

@ -12,11 +12,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Prepare for Nix installation - uses: DeterminateSystems/nix-installer-action@v13
run: | - uses: DeterminateSystems/magic-nix-cache-action@v7
apt-get update
apt-get install -y sudo
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
- name: lint - name: lint
run: | run: |
nix fmt nix fmt