Skip to content

Commit

Permalink
Merge pull request #226 from molybdenumsoftware/accept-flake-config
Browse files Browse the repository at this point in the history
chore: --accept-flake-config in CI
  • Loading branch information
mightyiam authored Nov 15, 2024
2 parents 9f89696 + e93612c commit 9b85c82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
experimental-features = no-url-literals pipe-operators
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check
- run: nix --accept-flake-config flake check
7 changes: 2 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
experimental-features = no-url-literals pipe-operators
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
nix build .#program-docs
nix --accept-flake-config build .#program-docs
mkdir docs
cp -r result/share/doc docs/programs
nix build .#nixos-manual
nix --accept-flake-config build .#nixos-manual
cp -r result docs/nixos-modules
- uses: actions/upload-pages-artifact@v3
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
experimental-features = no-url-literals pipe-operators
- uses: DeterminateSystems/update-flake-lock@main
id: update
with:
Expand Down

0 comments on commit 9b85c82

Please sign in to comment.