Skip to content

Commit d1457b3

Browse files
committed
chore: Run kotoha-chan on GitHub Actions
1 parent ab01690 commit d1457b3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/on-stage.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@ jobs:
1111
curl -LsSf https://astral.sh/uv/install.sh | sh
1212
uv --version
1313
uvx --version
14+
- name: Play baseball
15+
run: |
16+
cat > baseball.py <<PY
17+
def plus_one(numbers: list[int]) -> list[int]:
18+
return [n + 1 for n in numbers]
19+
PY
1420
- name: Run flake8-kotoha
15-
run: uvx --with flake8-kotoha flake8 --help
21+
run: uvx --with flake8-kotoha flake8 baseball.py; [ $? -eq 1 ]

0 commit comments

Comments
 (0)