Some checks failed
Code Review / review (pull_request) Successful in 40s
mint_ci / Check Python code using ruff (pull_request) Successful in 1m8s
Rust-lint / Run rust tests (pull_request) Failing after 22s
Rust-lint / Check Rust code with rustfmt and clippy (pull_request) Failing after 20s
30 lines
804 B
YAML
30 lines
804 B
YAML
name: mint_ci
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main"]
|
|
pull_request:
|
|
types: [unlabeled, opened, synchronize, reopened]
|
|
|
|
env:
|
|
PYTHON_VERSION: "3.12.3"
|
|
|
|
jobs:
|
|
lint:
|
|
name: Check Python code using ruff
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
- uses: astral-sh/ruff-action@v1
|
|
with:
|
|
version: 0.7.4
|
|
args: check . --select=E5,F4,F8,D400,D403,D417,D100,D102,D103,D101,ANN001,ANN201 --output-format=full --exclude='**/test_*.py','**/__init__.py' --force-exclude
|
|
changed-files: 'true'
|
|
- uses: astral-sh/ruff-action@v1
|
|
with:
|
|
version: 0.7.4
|
|
args: check . --select=I --output-format=full --force-exclude
|
|
changed-files: 'true'
|
|
continue-on-error: true |