Skip to content

Commit

Permalink
ci: move to DeterminateSystems/magic-nix-cache-action
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Oct 23, 2023
1 parent 47f931e commit 9d11811
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v5
# Cache Nix artifacts
- uses: cachix/cachix-action@v12
with:
name: bitcoindevkit
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
continue-on-error: true # for forks outside of bitcoindevkit GH org
- uses: DeterminateSystems/magic-nix-cache-action@v2
# Code Coverage
- name: Code Coverage
run: nix build -L .#ci.codeCoverage
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v5
# Cache Nix artifacts
- uses: cachix/cachix-action@v12
with:
name: bitcoindevkit
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
continue-on-error: true # for forks outside of bitcoindevkit GH org
- uses: DeterminateSystems/magic-nix-cache-action@v2
# Commit checks
- name: Pre-commit checks
run: nix build -L .#ci.pre-commit-check --keep-failed
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/nightly_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v5
# Cache Nix artifacts
- uses: cachix/cachix-action@v12
with:
name: bitcoindevkit
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
continue-on-error: true # for forks outside of bitcoindevkit GH org
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build docs
run: nix develop -L .#docsNightly --command bash -c "cargo doc --no-deps"
- name: Upload artifact
Expand Down

0 comments on commit 9d11811

Please sign in to comment.