fix: show actual commit hash in revision when repository is dirty #868
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: Builds | |
| on: | |
| pull_request: | |
| push: | |
| branches: main | |
| # allow "manual" triggering from automatic PRs | |
| workflow_dispatch: | |
| jobs: | |
| # Only put untrusted jobs here. | |
| development: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@v31 | |
| - run: nix-build -A git-hooks | |
| - run: nix-build -A tests | |
| - run: nix-shell default.nix -A ci --run "deploy build" |