From 44d65e1b2ace98b294df3d3bc12dd368b78de222 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 25 Dec 2023 14:49:44 +0100 Subject: [PATCH] ci: use actions/checkout@v4 (#1031) --- .github/workflows/abi.yml | 4 ++-- .github/workflows/android.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/clang-analyze.yml | 2 +- .github/workflows/cmake_win.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/coverity.yml | 2 +- .github/workflows/fedora.yml | 2 +- .github/workflows/freebsd.yml | 2 +- .github/workflows/ios.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/mingw.yml | 6 +++--- .github/workflows/musl.yml | 2 +- .github/workflows/sanitizers.yml | 2 +- .github/workflows/sonar.yml | 2 +- .github/workflows/ssl.yml | 2 +- .github/workflows/strict-c.yml | 2 +- .github/workflows/valgrind.yml | 2 +- 19 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/abi.yml b/.github/workflows/abi.yml index 4dd1dd74e..4f282c138 100644 --- a/.github/workflows/abi.yml +++ b/.github/workflows/abi.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: 'v3.6.0' path: old - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: current diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 435d6c392..fc73f06a5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "build openssl" run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36c20691e..f3f03d15b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: openssl path macos if: ${{ runner.os == 'macOS' }} diff --git a/.github/workflows/clang-analyze.yml b/.github/workflows/clang-analyze.yml index b38b91c4c..10de2c285 100644 --- a/.github/workflows/clang-analyze.yml +++ b/.github/workflows/clang-analyze.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }} diff --git a/.github/workflows/cmake_win.yml b/.github/workflows/cmake_win.yml index ea4efd484..eb3ae8eb0 100644 --- a/.github/workflows/cmake_win.yml +++ b/.github/workflows/cmake_win.yml @@ -59,7 +59,7 @@ jobs: } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install OpenSSL if: ${{ matrix.config.openssl }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 552885a78..cf5baf6fb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index efe333be7..96294ba79 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -16,7 +16,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }} diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 311e91177..07b23ac2d 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prepare run: cmake -B ${{github.workspace}}/build - uses: vapier/coverity-scan-action@v1 diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 010a0b96c..66f41db31 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -23,7 +23,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install devel tools run: | yum -y install gcc clang cmake make openssl-devel zlib-devel ninja-build diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 09fbbef61..6e56cb400 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -17,7 +17,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test in FreeBSD id: test diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index fa3865bbc..75fa3e069 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -7,7 +7,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d8eeab58a..68d68d01a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: ccheck run: | wget "https://raw.githubusercontent.com/baresip/baresip/main/test/ccheck.py" diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index ed01100cf..64d765139 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -20,7 +20,7 @@ jobs: run: | sudo apt-get update && sudo apt-get install -y mingw-w64 ninja-build - - uses: actions/checkout@v3 # needed for pr checkout + - uses: actions/checkout@v4 # needed for pr checkout - uses: sreimers/pr-dependency-action@v0.6 with: @@ -28,7 +28,7 @@ jobs: repo: https://github.com/baresip/baresip-win32 secret: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: baresip-win32/re @@ -61,7 +61,7 @@ jobs: needs: MinGW-w64-build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v2 - uses: sreimers/pr-dependency-action@v0.6 with: diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml index b2e51f464..7a6191ec0 100644 --- a/.github/workflows/musl.yml +++ b/.github/workflows/musl.yml @@ -17,7 +17,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install devel tools run: | apk add musl-dev git cmake gcc g++ make binutils openssl-dev linux-headers zlib-dev ninja diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 988d04142..86f23d5cf 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -23,7 +23,7 @@ jobs: ASAN_OPTIONS: fast_unwind_on_malloc=0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }} diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0f3e5bdc7..a8b6e85c9 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -14,7 +14,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@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 17 diff --git a/.github/workflows/ssl.yml b/.github/workflows/ssl.yml index 93c0b5a7a..510346c89 100644 --- a/.github/workflows/ssl.yml +++ b/.github/workflows/ssl.yml @@ -15,7 +15,7 @@ jobs: OPENSSL_ROOT_DIR: "assets/${{ matrix.ssl }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }} diff --git a/.github/workflows/strict-c.yml b/.github/workflows/strict-c.yml index a827e5fc4..e53424650 100644 --- a/.github/workflows/strict-c.yml +++ b/.github/workflows/strict-c.yml @@ -16,7 +16,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }} diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 5043e05a1..6cfa3a44e 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -10,7 +10,7 @@ jobs: CMAKE_GENERATOR: Ninja steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: fix flaky azure mirrors if: ${{ runner.os == 'Linux' }}