color retries as yellow #1116
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: "Test" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: cachix | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: cachix | |
installCommand: NIXPKGS_ALLOW_BROKEN=1 nix-env -if . | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: nix build -L '.#ci' '.#cachix' --show-trace --impure | |
- name: Install dev Cachix | |
run: nix-env -if . | |
# make sure it's all uploaded to cachix | |
- run: echo > /tmp/store-path-pre-build | |
- name: "watch-exec test" | |
env: | |
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }} | |
if: ${{ env.signingKey != '' }} | |
run: cachix watch-exec cachix -- nix-build genpaths.nix --substituters 'https://cache.nixos.org' |