Skip to content

Commit 440e0a9

Browse files
authored
Updated actions/checkout to v4 (#221)
* Updated actions/checkout to v4 * Updated changelog * Fixed typos in workflow names * Reverted to download- and upload-artifact to v3 in .github/workflows as well as in templates
1 parent 8935db8 commit 440e0a9

File tree

14 files changed

+35
-31
lines changed

14 files changed

+35
-31
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
jobs:
1010

1111
cd-job:
12-
name: Continues Delivery
12+
name: Continuous Delivery
1313
runs-on: ubuntu-latest
1414
steps:
1515

1616
- name: SCM Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
2020
uses: ./.github/actions/python-environment

.github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: SCM Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Setup Python & Poetry Environment
1717
uses: ./.github/actions/python-environment

.github/workflows/checks.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: SCM Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020

@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: SCM Checkout
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: Setup Python & Poetry Environment
3737
uses: ./.github/actions/python-environment
@@ -51,21 +51,22 @@ jobs:
5151

5252
steps:
5353
- name: SCM Checkout
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555

5656
- name: Setup Python & Poetry Environment
5757
uses: ./.github/actions/python-environment
5858
with:
5959
python-version: ${{ matrix.python-version }}
6060

61-
- name: Run Tests
61+
- name: Run lint
6262
run: poetry run nox -s lint
6363

6464
- name: Upload Artifacts
6565
uses: actions/upload-artifact@v3
6666
with:
6767
name: .lint.txt
6868
path: .lint.txt
69+
overwrite: true
6970

7071
type-check-job:
7172
name: Type Checking (Python-${{ matrix.python-version }})
@@ -78,14 +79,14 @@ jobs:
7879

7980
steps:
8081
- name: SCM Checkout
81-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8283

8384
- name: Setup Python & Poetry Environment
8485
uses: ./.github/actions/python-environment
8586
with:
8687
python-version: ${{ matrix.python-version }}
8788

88-
- name: Run Tests
89+
- name: Run type-check
8990
run: poetry run nox -s type-check
9091

9192
tests-job:
@@ -102,14 +103,14 @@ jobs:
102103

103104
steps:
104105
- name: SCM Checkout
105-
uses: actions/checkout@v3
106+
uses: actions/checkout@v4
106107

107108
- name: Setup Python & Poetry Environment
108109
uses: ./.github/actions/python-environment
109110
with:
110111
python-version: ${{ matrix.python-version }}
111112

112-
- name: Run Tests
113+
- name: Run Tests and Collect Coverage
113114
run: poetry run nox -s coverage -- -- --db-version ${{ matrix.exasol-version }}
114115

115116
- name: Upload Artifacts

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: ./.github/workflows/checks.yml
1818

1919
cd-job:
20-
name: Continues Delivery
20+
name: Continuous Delivery
2121
needs: [ ci-job ]
2222
uses: ./.github/workflows/build-and-publish.yml
2323
secrets:

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
steps:
1111
- name: SCM Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Setup Python & Poetry Environment
1515
uses: ./.github/actions/python-environment

.github/workflows/report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: SCM Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222

@@ -38,7 +38,7 @@ jobs:
3838
run: poetry run nox -s report -- -- --format json | tee metrics.json
3939

4040
- name: Upload Artifacts
41-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-artifact@v3
4242
with:
4343
name: metrics.json
4444
path: metrics.json

doc/changes/unreleased.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
## Refactorings
1111

1212
* #219: Updated project template configuration
13+
* Updated actions/checkout to v4

doc/github_actions/python_environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Example Usage
3737
3838
steps:
3939
- name: SCM Checkout
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
4242
- name: Setup Python & Poetry Environment
4343
uses: exasol/python-toolbox/.github/actions/[email protected]

doc/github_actions/security_issues.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Example Usage
2626
2727
steps:
2828
- name: SCM Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
3131
- name: Report Security Issues
3232
uses: exasol/python-toolbox/.github/actions/[email protected]

exasol/toolbox/templates/github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
jobs:
1010

1111
cd-job:
12-
name: Continues Delivery
12+
name: Continuous Delivery
1313
runs-on: ubuntu-latest
1414
steps:
1515

1616
- name: SCM Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
2020
uses: exasol/python-toolbox/.github/actions/[email protected]

0 commit comments

Comments
 (0)