Skip to content

Commit

Permalink
ci: style checks change python version from 3.6 to 3.8
Browse files Browse the repository at this point in the history
Problem: python 3.6 is end of life and is now cauing failures
for the ci pipeline linting and formatting stages.

Change python version to 3.8. Change black version to 22.3.0
to fix formatting error from new click release. This only
affects the ci linting and formatting checks.
  • Loading branch information
zekemorton committed Sep 26, 2023
1 parent 6948322 commit 21f466d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.6
python-version: 3.8
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: install black
run: python3 -m pip install 'black==20.08.b1' --force-reinstall
run: python3 -m pip install 'black==22.3.0' --force-reinstall
- name: check format
run: ./scripts/check-format

Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.6
python-version: 3.8
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit 21f466d

Please sign in to comment.