Skip to content

Commit e0be57b

Browse files
committed
ci: update extra_nix_config to fix warnings in GitHub Actions
1 parent a4a99c4 commit e0be57b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ jobs:
2020
with:
2121
nix_path: nixpkgs=channel:nixos-unstable
2222
extra_nix_config: |
23-
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
24-
substituters = https://cache.iog.io https://cache.nixos.org/
23+
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
24+
substituters = https://cache.iog.io https://cache.nixos.org/ https://iohk.cachix.org https://nix-community.cachix.org
25+
accept-flake-config = true
26+
allow-import-from-derivation = true
27+
experimental-features = nix-command flakes
2528
- uses: DeterminateSystems/magic-nix-cache-action@main
2629
- name: Build and test in Nix devshell
27-
run: nix develop .#ci --command bash -c "sbt ci"
30+
run: nix develop .#ci --accept-flake-config --command bash -c "sbt ci"
2831
- name: Report test results
2932
uses: sarisia/actions-status-discord@v1
3033
if: always()

0 commit comments

Comments
 (0)