diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 613929b..8495da6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,5 +13,7 @@ jobs: fetch-depth: 0 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main + - name: Enable magic Nix cache + uses: DeterminateSystems/magic-nix-cache-action@main - name: Shellcheck run: nix-shell --run 'shellcheck $(find . -type f -name "*.sh" -executable)' diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 8098e71..b109578 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -2,15 +2,15 @@ name: update-flake-lock on: workflow_dispatch: schedule: - - cron: "0 0 * * 0" + - cron: '0 0 * * 0' jobs: lockfile: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main - name: Update flake.lock - uses: ./. + uses: actions/checkout@v3 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: DeterminateSystems/flake-checker-action@main + - uses: ./.