Renamed #3
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: Noora | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: noora-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: "Release build on ${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md", "ghcr.io/cirruslabs/macos-runner:sonoma"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
with: | |
experimental: true | |
- name: Run | |
run: mise run build-spm | |
test: | |
name: "Test on ${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md", "ghcr.io/cirruslabs/macos-runner:sonoma"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
with: | |
experimental: true | |
- name: Warm Cache | |
run: mise run cache | |
- name: Run | |
run: mise run test-spm | |
- name: Updated Cache | |
run: mise run cache | |
lint: | |
name: Lint | |
runs-on: ghcr.io/cirruslabs/macos-runner:sonoma | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
with: | |
experimental: true | |
- name: Run | |
run: mise run lint |