Merge pull request #4 from DeterminateSystems/improvements-plus-pr2 #25
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: CI | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
check-dist-up-to-date: | |
name: Check the dist/ folder is up to date | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix develop --command pnpm install | |
- run: nix develop --command pnpm run all | |
- run: git status --porcelain=v1 | |
- run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 |