Skip to content

Commit

Permalink
Add --accept-flake-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikstrid committed Feb 14, 2023
1 parent bf73ab2 commit ad829c5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
with:
persist-credentials: false


- uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
Expand All @@ -56,13 +55,13 @@ jobs:
name: anmonteiro

- name: Build
run: nix develop -c dune build
run: nix develop --accept-flake-config -c dune build

- name: Test with coverage
run: nix develop -c dune build @runtest --instrument-with bisect_ppx --force
run: nix develop --accept-flake-config -c dune build @runtest --instrument-with bisect_ppx --force

- name: Upload coverage
run: nix develop -c bisect-ppx-report send-to Codecov
run: nix develop --accept-flake-config -c bisect-ppx-report send-to Codecov

- name: Build docs
run: nix develop -c dune build @doc
run: nix develop --accept-flake-config -c dune build @doc

0 comments on commit ad829c5

Please sign in to comment.