diff options
| author | seth <[email protected]> | 2023-05-15 18:00:31 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-15 18:00:31 -0400 |
| commit | a8290a86bd99d218f49b0e962c05976ebfa5ba33 (patch) | |
| tree | 83cf5e45d8b593b19fe016144f43373ea8f4e46d /.github | |
| parent | 62892a5801c77f9c44664d7d80e921c710e4e798 (diff) | |
feat(ci): add cachix
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index dfe28e2..d436e31 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,4 +25,9 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: cachix/cachix-action@v12 + with: + name: getchoo + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + - run: nix flake check -L diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0972f35..51f5e9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,11 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: cachix/cachix-action@v12 + with: + name: getchoo + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + - name: login to ghcr if: ${{ matrix.output == 'container' && github.ref == 'refs/heads/main' }} uses: docker/login-action@v2 |
