Skip to content

Commit 0ed653c

Browse files
authored
Upgrade Github actions (#324)
1 parent 8524afc commit 0ed653c

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/cruft-prs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
cruft-prs:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: Set up Python 3.11
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
2020
cache: "pip"

.github/workflows/deploy-instance-repo.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
env:
13-
PYTHON_VERSION: "3.10"
13+
PYTHON_VERSION: "3.11"
1414
INSTANCE_REPO_GITHUB: scverse/cookiecutter-scverse-instance
1515
INSTANCE_REPO: "TEMPLATE_INSTANCE"
1616
# directory in which cookiecuter generates the new repository
@@ -20,18 +20,18 @@ jobs:
2020

2121
steps:
2222
- name: Checkout template repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Checkout instance repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
repository: ${{ env.INSTANCE_REPO_GITHUB }}
2929
token: ${{ secrets.BOT_GH_TOKEN }}
3030
path: ${{ env.INSTANCE_REPO }}
3131
persist-credentials: true
3232

3333
- name: Set up Python ${{ env.PYTHON_VERSION }}
34-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v5
3535
with:
3636
python-version: ${{ env.PYTHON_VERSION }}
3737

.github/workflows/test.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626

2727
steps:
2828
# Setup
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030
- name: Set up Python ${{ matrix.python }}
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: ${{ matrix.python }}
3434
cache: "pip"
@@ -72,9 +72,9 @@ jobs:
7272
test-scripts:
7373
runs-on: ubuntu-latest
7474
steps:
75-
- uses: actions/checkout@v2
75+
- uses: actions/checkout@v4
7676
- name: Set up Python 3.11
77-
uses: actions/setup-python@v4
77+
uses: actions/setup-python@v5
7878
with:
7979
python-version: "3.11"
8080
cache: "pip"

{{cookiecutter.project_name}}/.github/workflows/build.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
package:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Set up Python 3.10
19-
uses: actions/setup-python@v4
17+
- uses: actions/checkout@v4
18+
- name: Set up Python 3.12
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.10"
21+
python-version: "3.12"
2222
cache: "pip"
2323
cache-dependency-path: "**/pyproject.toml"
2424
- name: Install build dependencies

{{cookiecutter.project_name}}/.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
filter: blob:none
2121
fetch-depth: 0
22-
- uses: actions/setup-python@v4
22+
- uses: actions/setup-python@v5
2323
with:
2424
python-version: "3.x"
2525
cache: "pip"

{{cookiecutter.project_name}}/.github/workflows/test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
PYTHON: ${{ matrix.python }}
4040

4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343
- name: Set up Python ${{ matrix.python }}
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{ matrix.python }}
4747
cache: "pip"

0 commit comments

Comments
 (0)