Skip to content

Commit

Permalink
Add cachix token
Browse files Browse the repository at this point in the history
  • Loading branch information
4ever2 committed Jul 10, 2024
1 parent 054bcf3 commit cc18947
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 58 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/nix-action-8.17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target ConCert
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -109,11 +110,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target QuickChick
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -171,11 +173,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 @@ -218,11 +221,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 Expand Up @@ -289,11 +293,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target stdpp
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down
35 changes: 20 additions & 15 deletions .github/workflows/nix-action-8.18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target ConCert
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -109,11 +110,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target QuickChick
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -171,11 +173,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 @@ -218,11 +221,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 Expand Up @@ -289,11 +293,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target stdpp
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down
35 changes: 20 additions & 15 deletions .github/workflows/nix-action-8.19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target ConCert
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -109,11 +110,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target QuickChick
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down Expand Up @@ -171,11 +173,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 @@ -218,11 +221,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- 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 Expand Up @@ -289,11 +293,12 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
- name: Cachix setup au-cobra
uses: cachix/cachix-action@v15
with:
extraPullNames: coq-community, metacoq
name: coq
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community, metacoq
name: au-cobra
- id: stepCheck
name: Checking presence of CI target stdpp
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
Expand Down
14 changes: 1 addition & 13 deletions .nix/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,5 @@
cachix.coq-community = {};
cachix.metacoq = {};

## If you have write access to one of these caches you can
## provide the auth token or signing key through a secret
## 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.coq-community.authToken = "CACHIX_AUTH_TOKEN";

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

## Note that here, CACHIX_AUTH_TOKEN and CACHIX_SIGNING_KEY
## are the names of secret variables. They are set in
## GitHub's web interface.
cachix.au-cobra.authToken = "CACHIX_AUTH_TOKEN";
}

0 comments on commit cc18947

Please sign in to comment.