Skip to content

Commit

Permalink
ci: fix action python version to 3.9 (#871)
Browse files Browse the repository at this point in the history
* Update tssdk-ci.yml

* update to lock to python 3.9
  • Loading branch information
drstrangelooker authored Oct 25, 2021
1 parent ec2e4d0 commit 3000602
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codegen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9

- name: Pull and run Looker docker image
# TODO: can we cache some layers of the image for faster download?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lerna-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9

- name: Pull and run Looker docker image
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9
- run: pip install -e .
- run: pip install mypy types-requests
- run: mypy looker_sdk/
Expand Down Expand Up @@ -109,21 +109,21 @@ jobs:
# the final layer(s) with Looker IP. This would speed up docker pull on
# all OSs.
#- os: macos
# python-version: '3.x'
# python-version: 3.9
# looker: '7_20'
# TODO: currently can't run linux containers on windows.
# Pending new windows server version
# https://github.com/actions/virtual-environments/issues/1143#issuecomment-698797524
#- os: windows
# python-version: '3.x'
# python-version: 3.9
# looker: '7_20'
steps:
- name: Repo Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9
- name: Install Tox and any other packages
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9
- name: Twine upload check
run: |
pip install wheel twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: 3.9

- name: Package release artifacts
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tssdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.9

- name: Pull and run Looker docker image
# TODO: can we cache some layers of the image for faster download?
Expand Down

0 comments on commit 3000602

Please sign in to comment.