WIP: Support ARM macOS too #26
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: Check | |
on: | |
push: | |
jobs: | |
test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: | |
- ubuntu-latest | |
- macos-latest | |
version: | |
- 0.8.0 | |
- 0.8.3 | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
version: ${{ matrix.version }} | |
- run: test "$(intlc --version)" = v${{ matrix.version }} | |
typecheck: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
- run: nix develop -c pnpm install | |
- run: nix develop -c pnpm run typecheck | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
- run: nix develop -c pnpm install | |
- run: nix develop -c pnpm run lint | |
fmt: | |
name: Check formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
- run: nix develop -c pnpm install | |
- run: nix develop -c pnpm run format |