Bump to mill 0.12.7 and Update CI #15
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
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| - labeled | |
| jobs: | |
| build-and-test: | |
| name: "Build and Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: cachix/install-nix-action@v27 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Install dependencies | |
| run: nix-env -i mill verilator z3 | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Test | |
| run: make test | |
| check-format: | |
| name: "Check Format" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: cachix/install-nix-action@v27 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Install dependencies | |
| run: nix-env -i mill | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Test | |
| run: make checkformat |