Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump to use node20 runtime, actions/checkout to v4 #727

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: ./
with:
Expand All @@ -41,7 +41,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.9-v7.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
id: cache-pipenv
uses: ./
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.8']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Init pyproject.toml
Expand All @@ -99,7 +99,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: ./
with:
Expand All @@ -118,7 +118,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.9-v7.x']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
id: cache-pipenv
uses: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
operating-system: [ubuntu-20.04, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run with setup-python 3.5
uses: ./
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-pypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python ${{ matrix.pypy }}
id: setup-python
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python ${{ matrix.pypy }}
id: setup-python
Expand All @@ -100,7 +100,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup PyPy and check latest
uses: ./
with:
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup PyPy and check latest
uses: ./
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
python: 3.8.15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python ${{ matrix.python }}
id: setup-python
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
python: 3.8.15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: build-version-file ${{ matrix.python }}
run: echo ${{ matrix.python }} > .python-version
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
python: 3.8.15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: build-version-file ${{ matrix.python }}
run: echo ${{ matrix.python }} > .python-version
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
python: 3.8.15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: build-version-file ${{ matrix.python }}
run: |
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
python: 3.8.15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: build-version-file ${{ matrix.python }}
run: |
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python 3.9.0-beta.4
id: setup-python
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python 3.9-dev
id: setup-python
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python 3.12
id: setup-python
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
python: ['3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup-python ${{ matrix.python }}
id: setup-python
Expand All @@ -374,7 +374,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python and check latest
uses: ./
with:
Expand All @@ -397,7 +397,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python and check latest
uses: ./
with:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ See [action.yml](action.yml)
**Python**
```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand All @@ -28,7 +28,7 @@ steps:
**PyPy**
```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9'
Expand Down Expand Up @@ -62,7 +62,7 @@ The action defaults to searching for a dependency file (`requirements.txt` or `p

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ outputs:
python-path:
description: "The absolute path to the Python or PyPy executable."
runs:
using: 'node16'
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()
Expand Down
Loading
Loading