From 21f466dbd6d9228b121da8cc3ba14ad8a0715a19 Mon Sep 17 00:00:00 2001 From: Zeke Morton Date: Tue, 26 Sep 2023 11:51:41 -0700 Subject: [PATCH] ci: style checks change python version from 3.6 to 3.8 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. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 136479ad7..23a4c7aa3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 }}