-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
4,475 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: check | ||
|
||
# on: | ||
# pull_request: | ||
# branches: [main] | ||
# push: | ||
# branches: [main] | ||
|
||
on: push | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: "actions/checkout@v4" | ||
- name: install poetry | ||
run: pip install poetry | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
cache: 'poetry' | ||
- name: install | ||
run: poetry install --with=dev | ||
- name: check imports | ||
run: poetry run isort --check . | ||
- name: check formatting | ||
run: poetry run black --check | ||
- name: run linter | ||
run: poetry run pylint . |
Oops, something went wrong.