Skip to content

Commit

Permalink
Pin linter job to python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunn1313 committed Apr 1, 2024
1 parent da9de2c commit 80327d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-verison: "3.8"
- name: Run formatters and linters
run: |
pip3 install black==24.3.0 isort flake8-pyi flake8-noqa flake8-bugbear
Expand All @@ -107,7 +109,9 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-verison: "3.8"
- name: Read versions
run: echo ::set-output name=PROTOBUF_VERSION::$(grep "^protobuf>=" test_requirements.txt | cut -f2 -d=)
id: read_versions
Expand Down

0 comments on commit 80327d0

Please sign in to comment.