mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
ci: Use cachix
This commit is contained in:
parent
679abde41d
commit
708ae40e62
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@ -16,13 +16,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo rm -rf "/usr/local/share/boost"
|
sudo rm -rf "/usr/local/share/boost"
|
||||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: cachix/install-nix-action@v25
|
||||||
with:
|
with:
|
||||||
extra-conf: |
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
extra_nix_config: |
|
||||||
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||||
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
|
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: cachix/cachix-action@v14
|
||||||
|
with:
|
||||||
|
name: services-flake
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- uses: yaxitech/nix-install-pkgs-action@v3
|
- uses: yaxitech/nix-install-pkgs-action@v3
|
||||||
with:
|
with:
|
||||||
packages: "github:srid/nixci"
|
packages: "github:srid/nixci"
|
||||||
|
Loading…
Reference in New Issue
Block a user