Skip to content

Commit 1360ccf

Browse files
DaniBodorsjvrijn
authored andcommitted
update checkout and setup-python versions
for both current project as well as in cookiecutter
1 parent 0c66450 commit 1360ccf

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

.github/workflows/cffconvert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out a copy of the repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Check whether the citation metadata from CITATION.cff is valid
1717
uses: citation-file-format/[email protected]

.github/workflows/markdown-link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Check markdown links
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1919
with:
2020
config-file: '.mlc-config.json'

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
1919
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Python info

{{cookiecutter.directory_name}}/.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
2020
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ '{{ ' -}} matrix.python-version }}
24-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ '{{ ' -}} matrix.python-version }}
2727
- name: Python info
@@ -44,9 +44,9 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
- name: Set up Python 3.9
49-
uses: actions/setup-python@v3
49+
uses: actions/setup-python@v5
5050
with:
5151
python-version: 3.9
5252
- name: Python info

{{cookiecutter.directory_name}}/.github/workflows/cffconvert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: "cffconvert"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
name: Check out a copy of the repository
1919

2020
- name: Check whether the citation metadata from CITATION.cff is valid

{{cookiecutter.directory_name}}/.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.9
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.9
2323
- name: Python info
@@ -33,4 +33,4 @@ jobs:
3333
run: sudo apt install pandoc
3434
- name: Build documentation
3535
run: make coverage doctest html
36-
working-directory: docs
36+
working-directory: docs

{{cookiecutter.directory_name}}/.github/workflows/markdown-link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Check markdown links
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1919
with:
2020
config-file: '.mlc-config.json'

{{cookiecutter.directory_name}}/.github/workflows/next_steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
next_steps:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
- name: Create Sonarcloud integration issue
1212
uses: JasonEtco/create-an-issue@v2
1313
env:

{{cookiecutter.directory_name}}/.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
name: SonarCloud
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2121
- name: Set up Python
22-
uses: actions/setup-python@v3
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: 3.9
2525
- name: Python info

0 commit comments

Comments
 (0)