parent
3a1223e73e
commit
32071685f1
1 changed files with 5 additions and 5 deletions
|
@ -8,21 +8,21 @@ jobs:
|
||||||
build-nix:
|
build-nix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update -y && apt-get install -y iputils-ping
|
- run: apt-get update -y && apt-get install sudo
|
||||||
- run: ping 9.9.9.9
|
|
||||||
- run: ping evl.li
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@V28
|
uses: cachix/install-nix-action@V28
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GH_TOKEN }}
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
access-tokens = github.com=${{ secrets.GH_TOKEN }}
|
||||||
allow-import-from-derivation = true
|
allow-import-from-derivation = true
|
||||||
auto-optimise-store = true
|
auto-optimise-store = true
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
substituters = https://cache.nixos.org https://cache.iog.io
|
substituters = https://cache.nixos.org https://cache.iog.io
|
||||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
||||||
|
|
||||||
|
- run: nix flake prefetch
|
||||||
|
- run: nix flake check
|
||||||
- run: nix build --accept-flake-config
|
- run: nix build --accept-flake-config
|
||||||
|
|
Loading…
Add table
Reference in a new issue