Update pre-commit hook astral-sh/ruff-pre-commit to v0.9.2 #44
Workflow file for this run
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: "ci" | |
on: | |
push | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
python-version: [ '3.10', '3.12' ] | |
fail-fast: false | |
defaults: | |
run: | |
working-directory: template | |
steps: | |
- name: Checkout [${{ github.repository }}] | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and run copier | |
working-directory: . | |
run: | | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir copier | |
mkdir -p template | |
copier copy . template --data-file .github/data.yaml | |
cd template | |
git init -b main | |
# otherwise the pre-commit hooks won't "see" files | |
git add . | |
- name: Run help | |
run: | | |
make | |
make help | |
- name: Run install | |
run: | | |
make install | |
- name: Run fmt | |
run: | | |
make fmt | |
make clean | |
#- name: Run tests | |
# run: | | |
# make test | |
#- name: Run marimo | |
# run: | | |
# make marimo |