summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2021-03-24 20:46:18 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2021-03-26 07:17:26 +0100
commitdbddb3a1a62f989bb92866b25369f71b89329ba5 (patch)
treef9dc54761e6664ad378456e41b388f17769c2e25 /.github
parent78e10ac43f4efbf6ce344968da313066c8dffa63 (diff)
Adds `GITHUB_TOKEN` due to rate limiting
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e716b92..5b9214a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -21,7 +21,6 @@ jobs:
- run: |
nix-channel --add https://nixos.org/channels/nixpkgs-20.09-darwin nixpkgs
nix-channel --update
- echo "FIXME workaround channel permission error"
- run: |
export NIX_PATH=$HOME/.nix-defexpr/channels
nix-shell -A installer
@@ -45,6 +44,13 @@ jobs:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210207_fd6eaa1/install
extra_nix_config: |
experimental-features = nix-command flakes
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - run: |
+ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
+ nix-channel --update
+ - run: |
+ export NIX_PATH=$HOME/.nix-defexpr/channels
+ nix-shell -A installer
- run: |
nix registry add darwin $PWD
nix build ./modules/examples#darwinConfigurations.simple.system