Skip to content

Commit

Permalink
fix error running with 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
paulacamargo25 committed Nov 1, 2023
1 parent 1fe2017 commit 1d7f338
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ env:
jobs:
build-vsix:
name: Create VSIX
# In order to use Python 3.6 here in the test, we can only use up to Ubuntu 20.
# https://github.com/rwth-i6/returnn/issues/1226
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,7 +33,7 @@ jobs:

lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:

# Install bundled libs using 3.6 even though you test it on other versions.
- name: Use Python 3.6
uses: actions/setup-python@v4
uses: actions/setup-python@v3
with:
python-version: '3.6'

Expand All @@ -86,7 +89,7 @@ jobs:
# Now that the bundle is installed to target using python 3.7
# switch back the python we want to test with
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}

Expand Down

0 comments on commit 1d7f338

Please sign in to comment.