Skip to content

Commit

Permalink
Enable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
4ever2 committed Oct 15, 2024
1 parent 4db48d7 commit 982d50e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/nix-action-coq-8.19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup metacoq
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: metacoq
- id: stepCheck
name: Checking presence of CI target ElmExtraction
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -88,11 +89,12 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup metacoq
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: metacoq
- id: stepCheck
name: Checking presence of CI target RustExtraction
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -142,11 +144,12 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup metacoq
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: metacoq
- id: stepCheck
name: Checking presence of CI target coq
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -189,11 +192,12 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup metacoq
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: metacoq
- id: stepCheck
name: Checking presence of CI target equations
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -241,11 +245,12 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup metacoq
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: metacoq
- id: stepCheck
name: Checking presence of CI target metacoq
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down
2 changes: 1 addition & 1 deletion .nix/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
## variable on GitHub. Then, you should give the variable
## name here. For instance, coq-community projects can use
## the following line instead of the one above:
# cachix.metacoq.authToken = "CACHIX_AUTH_TOKEN";
cachix.metacoq.authToken = "CACHIX_AUTH_TOKEN";

## Or if you have a signing key for a given Cachix cache:
# cachix.my-cache.signingKey = "CACHIX_SIGNING_KEY"
Expand Down

0 comments on commit 982d50e

Please sign in to comment.