ci: Update to actions/checkout@v4 from v2 and v3. (#72)
This uses deprecated versions of Node within GitHub Actions.
This commit is contained in:
parent
5745399120
commit
9dad2463b7
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
compiler: [gcc, clang]
|
compiler: [gcc, clang]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt install gcc-10 g++-10 libgcc-10-dev libunwind8-dev
|
sudo apt install gcc-10 g++-10 libgcc-10-dev libunwind8-dev
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
compiler: [gcc, clang]
|
compiler: [gcc, clang]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: |
|
run: |
|
||||||
pip3 install colorama
|
pip3 install colorama
|
||||||
@ -71,7 +71,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
compiler: [msvc, clang, gcc]
|
compiler: [msvc, clang, gcc]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Enable Developer Command Prompt
|
- name: Enable Developer Command Prompt
|
||||||
uses: ilammy/msvc-dev-cmd@v1.10.0
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
|
|||||||
20
.github/workflows/cmake-integration.yml
vendored
20
.github/workflows/cmake-integration.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
test-linux-fetchcontent:
|
test-linux-fetchcontent:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
tag=$(git rev-parse --abbrev-ref HEAD)
|
tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
@ -23,7 +23,7 @@ jobs:
|
|||||||
test-linux-findpackage:
|
test-linux-findpackage:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
tag=$(git rev-parse --abbrev-ref HEAD)
|
tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
test-linux-add_subdirectory:
|
test-linux-add_subdirectory:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
test-macos-fetchcontent:
|
test-macos-fetchcontent:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
tag=$(git rev-parse --abbrev-ref HEAD)
|
tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
@ -71,7 +71,7 @@ jobs:
|
|||||||
test-macos-findpackage:
|
test-macos-findpackage:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
tag=$(git rev-parse --abbrev-ref HEAD)
|
tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
@ -90,7 +90,7 @@ jobs:
|
|||||||
test-macos-add_subdirectory:
|
test-macos-add_subdirectory:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
test-mingw-fetchcontent:
|
test-mingw-fetchcontent:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
$tag=$(git rev-parse --abbrev-ref HEAD)
|
$tag=$(git rev-parse --abbrev-ref HEAD)
|
||||||
@ -120,7 +120,7 @@ jobs:
|
|||||||
test-mingw-add_subdirectory:
|
test-mingw-add_subdirectory:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
test-windows-fetchcontent:
|
test-windows-fetchcontent:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Enable Developer Command Prompt
|
- name: Enable Developer Command Prompt
|
||||||
uses: ilammy/msvc-dev-cmd@v1.10.0
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
- name: test
|
- name: test
|
||||||
@ -151,7 +151,7 @@ jobs:
|
|||||||
test-windows-add_subdirectory:
|
test-windows-add_subdirectory:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Enable Developer Command Prompt
|
- name: Enable Developer Command Prompt
|
||||||
uses: ilammy/msvc-dev-cmd@v1.10.0
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
- name: test
|
- name: test
|
||||||
|
|||||||
4
.github/workflows/performance-tests.yml
vendored
4
.github/workflows/performance-tests.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
-DSPEEDTEST_DWARF5=On
|
-DSPEEDTEST_DWARF5=On
|
||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: sudo apt install gcc-11 g++-11 libgcc-11-dev
|
run: sudo apt install gcc-11 g++-11 libgcc-11-dev
|
||||||
- name: build
|
- name: build
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
# matrix:
|
# matrix:
|
||||||
# compiler: [cl, clang++]
|
# compiler: [cl, clang++]
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v4
|
||||||
# - name: Enable Developer Command Prompt
|
# - name: Enable Developer Command Prompt
|
||||||
# uses: ilammy/msvc-dev-cmd@v1.10.0
|
# uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
# - name: build
|
# - name: build
|
||||||
|
|||||||
2
.github/workflows/sonarlint.yml
vendored
2
.github/workflows/sonarlint.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
sonarcloud:
|
sonarcloud:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# Disabling shallow clone is recommended for improving relevancy of reporting
|
# Disabling shallow clone is recommended for improving relevancy of reporting
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
compiler: [gcc, clang]
|
compiler: [gcc, clang]
|
||||||
shared: [--shared, ""]
|
shared: [--shared, ""]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt install gcc-10 g++-10 libgcc-10-dev libunwind8-dev
|
sudo apt install gcc-10 g++-10 libgcc-10-dev libunwind8-dev
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
compiler: [gcc, clang]
|
compiler: [gcc, clang]
|
||||||
shared: [--shared, ""]
|
shared: [--shared, ""]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: libdwarf
|
- name: libdwarf
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
@ -76,7 +76,7 @@ jobs:
|
|||||||
compiler: [msvc, clang, gcc]
|
compiler: [msvc, clang, gcc]
|
||||||
shared: [--shared, ""]
|
shared: [--shared, ""]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Enable Developer Command Prompt
|
- name: Enable Developer Command Prompt
|
||||||
uses: ilammy/msvc-dev-cmd@v1.10.0
|
uses: ilammy/msvc-dev-cmd@v1.10.0
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user