Skip to content

Commit 600691e

Browse files
dependabot[bot]codingjoe
authored andcommitted
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent d3d3dbc commit 600691e

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
dist:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/setup-python@v3
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.10"
1517
- uses: actions/checkout@v3
1618
- run: python -m pip install --upgrade pip build wheel twine
1719
- run: python -m build --sdist --wheel
@@ -46,14 +48,12 @@ jobs:
4648
- isort --check-only --diff .
4749
- pydocstyle .
4850
steps:
49-
- uses: actions/setup-python@v3
5051
- uses: actions/checkout@v3
51-
- uses: actions/cache@v3
52+
- uses: actions/setup-python@v4
5253
with:
53-
path: ~/.cache/pip
54-
key: ${{ runner.os }}-pip-${{ hashFiles('linter-requirements.txt') }}
55-
restore-keys: |
56-
${{ runner.os }}-pip-
54+
python-version: "3.10"
55+
cache: 'pip'
56+
cache-dependency-path: 'linter-requirements.txt'
5757
- run: python -m pip install -r linter-requirements.txt
5858
- run: ${{ matrix.lint-command }}
5959

@@ -75,7 +75,7 @@ jobs:
7575
steps:
7676
- uses: actions/checkout@v3
7777
- name: Set up Python ${{ matrix.python-version }}
78-
uses: actions/setup-python@v3
78+
uses: actions/setup-python@v4
7979
with:
8080
python-version: ${{ matrix.python-version }}
8181

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v3
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: "3.10"
1416
- run: python -m pip install --upgrade pip build wheel twine
1517
- uses: actions/setup-node@v3
1618
- name: Install Node dependencies

0 commit comments

Comments
 (0)