Merge pull request #209 from cachix/socket-fallback #31
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: "Build" | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: cachix/install-nix-action@v31 | |
| - run: nix profile install nixpkgs#devenv | |
| - name: Build | |
| run: devenv shell -- pnpm build | |
| # Check that build was committed | |
| - name: Verify latest build | |
| run: git diff --exit-code | |
| test: | |
| needs: [build] | |
| uses: ./.github/workflows/test.yml | |
| secrets: inherit |