Initial commit #1
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: Checks | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
check: | |
name: Code check | |
if: "!contains(github.event.head_commit.message, 'ci skip all')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install ruff | |
run: python3 -m pip install ruff | |
- name: Run lint check | |
run: ruff check --output-format github . | |
- name: Run format check | |
run: ruff check --output-format github . |