Skip to content

Commit

Permalink
Use latest version of Github actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Jul 24, 2024
1 parent d925a2e commit 017bf0e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/abi-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: main
Expand All @@ -58,7 +58,7 @@ jobs:
cp $(find . -name compat_report.html) .
cp $(find . -name new-abi.dump) .
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: abi_info
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/log4cxx-cpp11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 38
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: main
Expand All @@ -45,5 +45,5 @@ jobs:
run: |
cd main
cd build
ctest -C Debug --output-on-failure -V
ctest -C Debug --output-on-failure
2 changes: 1 addition & 1 deletion .github/workflows/log4cxx-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
qt: OFF

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/log4cxx-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
exitevents: OFF

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: main
Expand Down Expand Up @@ -95,4 +95,4 @@ jobs:
run: |
cd main
cd build
ctest -C Debug --output-on-failure -V
ctest -C Debug --output-on-failure
6 changes: 3 additions & 3 deletions .github/workflows/log4cxx-windows-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
os: windows-2022

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: main
Expand All @@ -46,7 +46,7 @@ jobs:

- name: 'Checkout VCPKG'
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: microsoft/vcpkg
path: vcpkg
Expand Down Expand Up @@ -83,6 +83,6 @@ jobs:
run: |
cd main
cd build
ctest -C Debug --output-on-failure -V
ctest -C Debug --output-on-failure
9 changes: 4 additions & 5 deletions .github/workflows/log4cxx-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ jobs:
os: windows-2022

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

- name: 'Restore Prebuilt Dependencies'
id: restore-vcpkg-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vcpkg
key: ${{ runner.os }}-${{ matrix.name }}-cache-x64

- name: 'Checkout VCPKG'
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: microsoft/vcpkg
path: vcpkg
Expand Down Expand Up @@ -83,5 +83,4 @@ jobs:
run: |
cd main
cd build
ctest -C Debug --output-on-failure -V
ctest -C Debug --output-on-failure
4 changes: 2 additions & 2 deletions .github/workflows/package_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
path: clean-checkout
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
sha512sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha512"
sha256sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha256"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: 'Upload release files'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
SONAR_SERVER_URL: "https://sonarcloud.io"
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # do not persist auth token in the local git config
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
Expand All @@ -44,7 +44,7 @@ jobs:
java-version: 17

- name: Set up Python 3.8 for gcovr
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down

0 comments on commit 017bf0e

Please sign in to comment.