use nix cache
This commit is contained in:
parent
3c63c2cd61
commit
fc5b3f0c24
@ -15,6 +15,9 @@ jobs:
|
|||||||
uses: https://github.com/cachix/install-nix-action@v23
|
uses: https://github.com/cachix/install-nix-action@v23
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.__GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.__GITHUB_TOKEN }}
|
||||||
|
extra_nix_config: |
|
||||||
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= s0.koi-bebop.ts.net:OjbzD86YjyJZpCp9RWaQKANaflcpKhtzBMNP8I2aPUU=
|
||||||
|
substituters = https://cache.nixos.org/ http://s0.koi-bebop.ts.net:5000
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: nix profile install nixpkgs#nodejs-18_x
|
run: nix profile install nixpkgs#nodejs-18_x
|
||||||
@ -29,15 +32,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
|
|
||||||
# - name: Print nixpkgs version
|
|
||||||
# run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
|
||||||
|
|
||||||
# - run: nix-shell -p cowsay --run "cowsay test"
|
|
||||||
|
|
||||||
- run: nix run nixpkgs#cowsay -- hello
|
- run: nix run nixpkgs#cowsay -- hello
|
||||||
|
|
||||||
- name: Install dependencies
|
- run: nix profile install nixpkgs#cowsay
|
||||||
run: nix profile install nixpkgs#cowsay
|
|
||||||
- run: cowsay testing
|
- run: cowsay testing
|
||||||
|
|
||||||
- run: nix profile install nixpkgs#curl
|
- run: nix profile install nixpkgs#curl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user