make flake check workflow better
This commit is contained in:
parent
4cded3c746
commit
b2dd4dbfaa
1 changed files with 14 additions and 3 deletions
17
.github/workflows/flake-check.yml
vendored
17
.github/workflows/flake-check.yml
vendored
|
@ -6,8 +6,19 @@ jobs:
|
||||||
flake-check:
|
flake-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- uses: cachix/install-nix-action@v30
|
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.github_token }}
|
logger: pretty
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
- uses: cachix/cachix-action@v15
|
||||||
|
with:
|
||||||
|
name: cything
|
||||||
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
- name: Setup Attic cache
|
||||||
|
uses: ryanccn/attic-action@v0
|
||||||
|
with:
|
||||||
|
endpoint: ${{ vars.ATTIC_ENDPOINT }}
|
||||||
|
cache: ${{ vars.ATTIC_CACHE }}
|
||||||
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
|
|
Loading…
Add table
Reference in a new issue