Bump rui314/setup-mold from 85c79d00377f0d32cdbae595a46de6f7c2fa6599 to 702b1908b5edf30d71a8d1666b724e0f0c6fa035 #261
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@702b1908b5edf30d71a8d1666b724e0f0c6fa035 | |
| - 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@702b1908b5edf30d71a8d1666b724e0f0c6fa035 | |
| - name: Check formatting and clippy | |
| run: make lint | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rui314/setup-mold@702b1908b5edf30d71a8d1666b724e0f0c6fa035 | |
| - name: Run unit tests | |
| run: make test |