fix: unset GIT_DIR
and GIT_WORK_TREE
environment variables when invoking git
#212
Workflow file for this run
This file contains hidden or 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: "Checks" | |
on: | |
pull_request: | |
push: | |
workflow_call: | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v10 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: neorocks | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix flake check -L --accept-flake-config | |
shell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v10 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: neorocks | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix build .#devShells.x86_64-linux.default -L --accept-flake-config |