Skip to content

Commit

Permalink
ci: Accept the flake config
Browse files Browse the repository at this point in the history
  • Loading branch information
Théophane Hufschmitt committed Jun 4, 2024
1 parent c5bd5a7 commit f2d6d1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ensure-up-to-date-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
extra_nix_config: accept-flake-config = true
- name: Ensure that schema files don't need a rebuild
run: |-
nix develop --command python3 ./extract-schemas.py
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
extra_nix_config: accept-flake-config = true
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v21
on: push
3 changes: 2 additions & 1 deletion gh-actions.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ let setup = [
},
{
name = "Install Nix",
uses = "cachix/install-nix-action@v26"
uses = "cachix/install-nix-action@v26",
with.extra_nix_config = "accept-flake-config = true",
}
]
in
Expand Down

0 comments on commit f2d6d1d

Please sign in to comment.