diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 99b2dc9..8f22d16 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -19,10 +19,13 @@ jobs: - uses: DeterminateSystems/nix-installer-action@c5a866b6ab867e88becbed4467b93592bce69f8a # v21 with: determinate: false - - uses: DeterminateSystems/magic-nix-cache-action@565684385bcd71bad329742eefe8d12f2e765b39 # v13 - with: - use-flakehub: false - - run: nix build .#checks.x86_64-linux.formatting-nix + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: https://attic.comni.pl + cache: aspulse_dotfiles + token: ${{ secrets.ATTIC_JWT }} + - run: nix build -L .#checks.x86_64-linux.formatting-nix --accept-flake-config formatting-neovim: runs-on: ubuntu-latest steps: @@ -30,7 +33,10 @@ jobs: - uses: DeterminateSystems/nix-installer-action@c5a866b6ab867e88becbed4467b93592bce69f8a # v21 with: determinate: false - - uses: DeterminateSystems/magic-nix-cache-action@565684385bcd71bad329742eefe8d12f2e765b39 # v13 - with: - use-flakehub: false - - run: nix build .#checks.x86_64-linux.formatting-neovim + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: https://attic.comni.pl + cache: aspulse_dotfiles + token: ${{ secrets.ATTIC_JWT }} + - run: nix build -L .#checks.x86_64-linux.formatting-neovim --accept-flake-config