ci: upgrade linter python to 3.10
@@ -14,10 +14,9 @@ jobs:
- uses: actions/setup-python@v3
with:
- python-version: "3.8"
+ python-version: "3.10"
- uses: Trim21/setup-poetry@dist/v1
-
- uses: Trim21/install-poetry-project@dist/v1
- name: flake8
@@ -29,7 +28,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
- python-version: "3.8"
+ python-version: "3.10"
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- name: add matcher
@@ -38,15 +37,11 @@ jobs:
run: pylint ./bgmi
mypy:
- runs-on: ${{ format('{0}-latest', matrix.os) }}
- strategy:
- matrix:
- python: ["3.7", "3.9"]
- os: [macos, windows, ubuntu]
+ runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v3
with:
- python-version: ${{ matrix.python }}
+ python-version: "3.10"
- uses: actions/checkout@v3
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
@@ -65,13 +60,13 @@ jobs:
fi
mypy --show-column-numbers "--always-$v=IS_WINDOWS" bgmi
- lint:
+ pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
- python-version: 3.8
+ python-version: "3.10"
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
