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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v30
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue