mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-24 17:38:02 +00:00
Merge pull request #85 from cachix/flakes-github-token
flakes: pass github token to shield against rate limiting
This commit is contained in:
commit
aeb0bfb217
2 changed files with 2 additions and 0 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -75,6 +75,7 @@ jobs:
|
||||||
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: nix flake show github:NixOS/nixpkgs
|
- run: nix flake show github:NixOS/nixpkgs
|
||||||
|
|
||||||
installer-options:
|
installer-options:
|
||||||
|
|
|
@ -58,6 +58,7 @@ jobs:
|
||||||
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: nix build
|
- run: nix build
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue