Skip to content

🌩️ Use cloud caching (#14) #46

🌩️ Use cloud caching (#14)

🌩️ Use cloud caching (#14) #46

Workflow file for this run

---
name: 🪝 Pre-commit hooks
"on":
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: >- # v4.1.1
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Nix
uses: >- # v10
DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Nix derivations
uses: >- # v4
DeterminateSystems/magic-nix-cache-action@fc6aaceb40b9845a02b91e059ec147e78d1b4e41
- name: Run pre-commit hooks
run: |
nix flake check --impure -L