Skip to content

refactor: consolidate CI and pre-commit to use mise #202

refactor: consolidate CI and pre-commit to use mise

refactor: consolidate CI and pre-commit to use mise #202

Workflow file for this run

name: ci
on:
push:
pull_request:
permissions:
contents: read
env:
MISE_VERSION: "2026.6.14"
jobs:
ci:
name: ${{ matrix.task }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [fmt, clippy, test, deny]
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
with:
fetch-depth: 1
persist-credentials: false
- name: Install mise
uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
version: "${{ env.MISE_VERSION }}"
- name: Run ${{ matrix.task }}
run: mise run "$MATRIX_TASK"
env:
MATRIX_TASK: "${{ matrix.task }}"