Ignore temporary directories created when unpacking tarballs #149
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: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: xzfc | |
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }} | |
- name: Build and install cached-nix-shell | |
run: nix-env -i -f default.nix | |
- name: Workaround for Darwin | |
if: matrix.os == 'macos-latest' | |
run: cached-nix-shell -p --run true | |
- name: Test cached-nix-shell | |
run: ./tests/run.sh | |
- name: Test nix-trace | |
run: nix-shell -p b3sum --run "nix-shell ./default.nix --run 'make -C ./nix-trace test'" |