update-actions #3
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: PythonCheck | |
on: | |
pull_request: | |
branches: | |
- main # ここでPRをトリガーするブランチを指定 | |
paths: | |
- '**/*.py' # .pyファイルに変更があったときのみトリガー | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
- name: Run lint | |
run: uv run task lint --output-format=github | |
- name: Run format | |
run: uv run task format --check | |
- name: Run tests | |
run: uv run task test |