Bump rui314/setup-mold from 702b1908b5edf30d71a8d1666b724e0f0c6fa035 to 7344740a9418dcdcb481c7df83d9fbd1d5072d7d #311
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: read | |
| # In the event that there is a new push to the ref, cancel any running jobs because there are now obsolete, and wasting | |
| # resources. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rui314/setup-mold@7344740a9418dcdcb481c7df83d9fbd1d5072d7d | |
| - name: Build | |
| run: make build | |
| - name: Build JS | |
| run: make build-js | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rui314/setup-mold@7344740a9418dcdcb481c7df83d9fbd1d5072d7d | |
| - name: Check formatting and clippy | |
| run: make lint | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rui314/setup-mold@7344740a9418dcdcb481c7df83d9fbd1d5072d7d | |
| - name: Run unit tests | |
| run: make test |