enable hercules-ci for gh-a, gh-r, & flake-updates [fix2] #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Cachix Magic Nix Build Cache" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/nix-installer-action@main | |
with: | |
diagnostic-endpoint: "" # Disable telemetry | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
with: | |
diagnostic-endpoint: "" # Disable telemetry | |
upstream-cache: https://lehmanator.cachix.org # Use my binary cache (which uses cache.nixos.org upstream) | |
- uses: DeterminateSystems/flake-checker-action@main | |
with: | |
send-statistics: false # Disable telemetry | |
- run: nix build | |
#- run: nix shell --command "echo OK" |