Skip to content

Commit 2608165

Browse files
committed
ci: Update GitHub Actions action versions
We were getting warnings about the old versions running on Node.js 20, which is deprecated.
1 parent 10636bb commit 2608165

11 files changed

Lines changed: 34 additions & 34 deletions

.github/workflows/build-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
matrix:
2222
mode: ["debug", "release"]
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
repository: omnetpp/omnetpp
2727
path: omnetpp
2828
ref: omnetpp-6.x
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
path: inet
3232
- run: mkdir -p /home/runner/work/ccache
33-
- uses: actions/cache@v4
33+
- uses: actions/cache@v5
3434
with:
3535
path: /home/runner/work/ccache
3636
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
mode: ["debug", "release"]
1616
fail-fast: false
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
- name: Pull Docker image
2020
run: docker pull ghcr.io/inet-framework/ci-inet:6.3.0-251029
2121
- run: mkdir /home/runner/work/ccache
22-
- uses: actions/cache@v4
22+
- uses: actions/cache@v5
2323
with:
2424
path: /home/runner/work/ccache
2525
# See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache

.github/workflows/build-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
mode: ["debug", "release"]
1616
fail-fast: false
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
- name: Pull Docker image
2020
run: docker pull ghcr.io/inet-framework/ci-inet:6.3.0-251029
2121
- run: mkdir /home/runner/work/ccache
22-
- uses: actions/cache@v4
22+
- uses: actions/cache@v5
2323
with:
2424
path: /home/runner/work/ccache
2525
# See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache

.github/workflows/chart-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
mode: ["release"]
1717
fail-fast: false
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
repository: omnetpp/omnetpp
2222
path: omnetpp
2323
ref: omnetpp-6.x
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
path: inet
2727
- run: mkdir -p /home/runner/work/ccache
28-
- uses: actions/cache/restore@v4
28+
- uses: actions/cache/restore@v5
2929
with:
3030
path: /home/runner/work/ccache
3131
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}
@@ -70,7 +70,7 @@ jobs:
7070
echo "::group::Running chart tests"
7171
inet_run_chart_tests -m release -f showcases
7272
echo "::endgroup::"
73-
- uses: actions/upload-artifact@v4
73+
- uses: actions/upload-artifact@v7
7474
if: always() # even if the test failed, of course
7575
with:
7676
name: chart-test-results

.github/workflows/feature-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
total: [16] # keep these in sync!
1919
fail-fast: false
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
repository: omnetpp/omnetpp
2424
path: omnetpp
2525
ref: omnetpp-6.x
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
with:
2828
path: inet
2929
- run: mkdir -p /home/runner/work/ccache
30-
- uses: actions/cache/restore@v4
30+
- uses: actions/cache/restore@v5
3131
with:
3232
path: /home/runner/work/ccache
3333
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}
@@ -58,7 +58,7 @@ jobs:
5858
# this indirectly calls the script named simply "inet", which handles the MODE envvar internally
5959
./featuretest
6060
echo "::endgroup::"
61-
- uses: actions/upload-artifact@v4
61+
- uses: actions/upload-artifact@v7
6262
if: always() # even if the test failed, of course
6363
with:
6464
name: log-${{ matrix.split }}

.github/workflows/fingerprint-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
split: [0, 1, 2, 3]
2020
fail-fast: false
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
repository: omnetpp/omnetpp
2525
path: omnetpp
2626
ref: omnetpp-6.x
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828
with:
2929
path: inet
3030
- run: mkdir -p /home/runner/work/ccache
31-
- uses: actions/cache/restore@v4
31+
- uses: actions/cache/restore@v5
3232
with:
3333
path: /home/runner/work/ccache
3434
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}

.github/workflows/module-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
mode: ["debug"]
1818
fail-fast: false
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
repository: omnetpp/omnetpp
2323
path: omnetpp
2424
ref: omnetpp-6.x
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
path: inet
2828
- run: mkdir -p /home/runner/work/ccache
29-
- uses: actions/cache/restore@v4
29+
- uses: actions/cache/restore@v5
3030
with:
3131
path: /home/runner/work/ccache
3232
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}

.github/workflows/other-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
testdir: ["packet", "queueing", "protocol"]
1919
fail-fast: false
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
repository: omnetpp/omnetpp
2424
path: omnetpp
2525
ref: omnetpp-6.x
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
with:
2828
path: inet
2929
- run: mkdir -p /home/runner/work/ccache
30-
- uses: actions/cache/restore@v4
30+
- uses: actions/cache/restore@v5
3131
with:
3232
path: /home/runner/work/ccache
3333
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}

.github/workflows/statistical-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
mode: ["release"]
1717
fail-fast: false
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
repository: omnetpp/omnetpp
2222
path: omnetpp
2323
ref: omnetpp-6.x
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
path: inet
2727
- run: mkdir -p /home/runner/work/ccache
28-
- uses: actions/cache/restore@v4
28+
- uses: actions/cache/restore@v5
2929
with:
3030
path: /home/runner/work/ccache
3131
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}
@@ -64,7 +64,7 @@ jobs:
6464
echo "::group::Running statistical tests"
6565
inet_run_statistical_tests -m release
6666
echo "::endgroup::"
67-
- uses: actions/upload-artifact@v4
67+
- uses: actions/upload-artifact@v7
6868
if: always() # even if the test failed, of course
6969
with:
7070
name: statistical-test-results

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
mode: ["debug"]
1818
fail-fast: false
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
repository: omnetpp/omnetpp
2323
path: omnetpp
2424
ref: omnetpp-6.x
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
path: inet
2828
- run: mkdir -p /home/runner/work/ccache
29-
- uses: actions/cache/restore@v4
29+
- uses: actions/cache/restore@v5
3030
with:
3131
path: /home/runner/work/ccache
3232
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}

0 commit comments

Comments
 (0)