Skip to content

Commit 3010779

Browse files
authored
Use latest version of Github actions for CI (#399)
1 parent bf873fc commit 3010779

File tree

8 files changed

+18
-19
lines changed

8 files changed

+18
-19
lines changed

.github/workflows/abi-compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333

3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v4
3636
with:
3737
persist-credentials: false # do not persist auth token in the local git config
3838
path: main
@@ -58,7 +58,7 @@ jobs:
5858
cp $(find . -name compat_report.html) .
5959
cp $(find . -name new-abi.dump) .
6060
61-
- uses: actions/upload-artifact@v2
61+
- uses: actions/upload-artifact@v4
6262
if: always()
6363
with:
6464
name: abi_info

.github/workflows/log4cxx-cpp11.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
timeout-minutes: 38
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
persist-credentials: false # do not persist auth token in the local git config
2828
path: main
@@ -45,5 +45,5 @@ jobs:
4545
run: |
4646
cd main
4747
cd build
48-
ctest -C Debug --output-on-failure -V
48+
ctest -C Debug --output-on-failure
4949

.github/workflows/log4cxx-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
qt: OFF
3939

4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
with:
4343
persist-credentials: false # do not persist auth token in the local git config
4444
path: main

.github/workflows/log4cxx-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
exitevents: OFF
6161

6262
steps:
63-
- uses: actions/checkout@v3
63+
- uses: actions/checkout@v4
6464
with:
6565
persist-credentials: false # do not persist auth token in the local git config
6666
path: main
@@ -95,4 +95,4 @@ jobs:
9595
run: |
9696
cd main
9797
cd build
98-
ctest -C Debug --output-on-failure -V
98+
ctest -C Debug --output-on-failure

.github/workflows/log4cxx-windows-static.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
os: windows-2022
3333

3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
persist-credentials: false # do not persist auth token in the local git config
3838
path: main
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: 'Checkout VCPKG'
4848
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050
with:
5151
repository: microsoft/vcpkg
5252
path: vcpkg
@@ -83,6 +83,6 @@ jobs:
8383
run: |
8484
cd main
8585
cd build
86-
ctest -C Debug --output-on-failure -V
86+
ctest -C Debug --output-on-failure
8787
8888

.github/workflows/log4cxx-windows.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ jobs:
3232
os: windows-2022
3333

3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
persist-credentials: false # do not persist auth token in the local git config
3838
path: main
3939

4040
- name: 'Restore Prebuilt Dependencies'
4141
id: restore-vcpkg-cache
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: vcpkg
4545
key: ${{ runner.os }}-${{ matrix.name }}-cache-x64
4646

4747
- name: 'Checkout VCPKG'
4848
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050
with:
5151
repository: microsoft/vcpkg
5252
path: vcpkg
@@ -83,5 +83,4 @@ jobs:
8383
run: |
8484
cd main
8585
cd build
86-
ctest -C Debug --output-on-failure -V
87-
86+
ctest -C Debug --output-on-failure

.github/workflows/package_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3535
with:
3636
persist-credentials: false # do not persist auth token in the local git config
3737
path: clean-checkout
@@ -60,7 +60,7 @@ jobs:
6060
sha512sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha512"
6161
sha256sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha256"
6262
63-
- uses: actions/upload-artifact@v2
63+
- uses: actions/upload-artifact@v4
6464
if: always()
6565
with:
6666
name: 'Upload release files'

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
SONAR_SERVER_URL: "https://sonarcloud.io"
3333
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v4
3636
with:
3737
persist-credentials: false # do not persist auth token in the local git config
3838
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
@@ -44,7 +44,7 @@ jobs:
4444
java-version: 17
4545

4646
- name: Set up Python 3.8 for gcovr
47-
uses: actions/setup-python@v2
47+
uses: actions/setup-python@v5
4848
with:
4949
python-version: 3.8
5050

0 commit comments

Comments
 (0)