chore: use binary cache in PRs

This commit is contained in:
Naxdy 2024-10-14 16:49:18 +02:00
parent a2e90c3734
commit 1a2e71b213
Signed by: Naxdy
GPG key ID: CC15075846BCE91B

View file

@ -10,8 +10,19 @@ jobs:
check:
runs-on: nix-flakes
steps:
- uses: actions/checkout@v4
- name: Set up attic binary cache
uses: https://git.naxdy.org/NaxdyOrg/attic-action@v0.3
with:
endpoint: "${{ vars.BINARY_CACHE_URL }}"
token: ""
cache: "${{ vars.PUBLIC_BINARY_CACHE_NAME }}"
skip-push: true
- name: Run Clippy
run: |
nix develop . --command cargo clippy -- -Dwarnings