Skip to content

Commit

Permalink
Update github actions to use latest version (#3583)
Browse files Browse the repository at this point in the history
* Github is deprecating Node.js 12 actions, this PR updates to the
  latest version of actions
* For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Revert change for py26 and update py27 and py3

* Py26 was having issues to reverting the change for that CI
* There is a v4 release for setup-python so use it instead of v3

Updating py26 to use latest checkout action

Signed-off-by: Bob Fahr <[email protected]>

Signed-off-by: Bob Fahr <[email protected]>
  • Loading branch information
bfahr authored Nov 4, 2022
1 parent 90a44a6 commit ccbb62f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
python-versions: [2.7, 3.6, 3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-versions }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}
- name: Install dependencies
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: apt-install python26
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
Expand Down Expand Up @@ -74,9 +74,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: install dependencies
Expand All @@ -87,4 +87,4 @@ jobs:
run: |
pip install docutils==0.17
pip install -e .[docs]
sphinx-build -W -b html -qa -E docs docs/_build/html
sphinx-build -W -b html -qa -E docs docs/_build/html

0 comments on commit ccbb62f

Please sign in to comment.