Update skewer after adding sim #47
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yaml | |
ruff-lint: | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup rye | |
uses: eifinger/setup-rye@v3 | |
- name: install dependencies | |
run: rye sync | |
- name: lint | |
run: rye run ruff check src/ | |
- name: auto fix | |
if: ${{ failure() }} | |
run: rye run ruff check --fix src/ | |
- name: suggest changes | |
if: ${{ failure() }} | |
uses: parkerbxyz/[email protected] | |
ruff-format: | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup rye | |
uses: eifinger/setup-rye@v3 | |
- name: install dependencies | |
run: rye sync | |
- name: format | |
run: rye run ruff format --check src/ | |
- name: auto fix | |
if: ${{ failure() }} | |
run: rye run ruff format src/ | |
- name: suggest changes | |
if: ${{ failure() }} | |
uses: parkerbxyz/[email protected] | |
mypy: | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup rye | |
uses: eifinger/setup-rye@v3 | |
- name: install dependencies | |
run: rye sync | |
- name: type check | |
run: rye run mypy --disable-error-code "import" src/ |