fix: Elaborate the source body in getFileEnv
#1412
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: Nix CI | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Runs Lean tests via Nix | |
| nix-test: | |
| name: Nix Tests | |
| runs-on: warp-ubuntu-latest-x64-8x | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| # Ix CLI | |
| - run: nix build --print-build-logs --accept-flake-config | |
| - run: nix run .#ix -- --help | |
| # Ix tests | |
| - run: nix run .#test --accept-flake-config | |
| # Tests Nix devShell support on Ubuntu | |
| nix-devshell: | |
| name: Nix devShell Tests | |
| runs-on: warp-ubuntu-latest-x64-8x | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| # Builds and runs tests using Lake as a Nix package | |
| - run: nix develop --accept-flake-config --command bash -c "lake build && lake test" |