Skip to content

Commit

Permalink
ci(main): use nialov cachix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nialov committed Mar 19, 2024
1 parent 77fb4d6 commit 68daf6f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v3
- uses: cachix/cachix-action@v13
with:
name: fractopo
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: nialov
authToken: "${{ secrets.CACHIX_AUTH_TOKEN_NIALOV }}"
- name: Check with nix
# This also builds documentation (fractopo-documentation) so docs job
# does not have to run every time
Expand All @@ -34,8 +34,8 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v3
- uses: cachix/cachix-action@v13
with:
name: fractopo
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: nialov
authToken: "${{ secrets.CACHIX_AUTH_TOKEN_NIALOV }}"
- name: Test with poetry on Python ${{ matrix.python-version }}
run: |
nix run .#poetry-run -- ${{ matrix.python-version }} pytest
Expand All @@ -49,8 +49,8 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v3
- uses: cachix/cachix-action@v13
with:
name: fractopo
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: nialov
authToken: "${{ secrets.CACHIX_AUTH_TOKEN_NIALOV }}"
- name: Build package with poetry
run: |
nix develop -c poetry check
Expand Down Expand Up @@ -115,8 +115,8 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v3
- uses: cachix/cachix-action@v13
with:
name: fractopo
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: nialov
authToken: "${{ secrets.CACHIX_AUTH_TOKEN_NIALOV }}"
- name: Build documentation
run: |
nix build .#fractopo.passthru.documentation.doc
Expand Down

0 comments on commit 68daf6f

Please sign in to comment.