From 04ba1a7ef6b69f979f066f2e0d933d2b0906bd82 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Sat, 10 Jun 2023 10:20:37 -0600 Subject: [PATCH] github-ci: update actions/checkout to v3.5.3 --- .github/workflows/builds.yml | 62 +++++++++++------------ .github/workflows/codeql.yml | 2 +- .github/workflows/formatting.yml | 2 +- .github/workflows/rust.yml | 2 +- .github/workflows/scan-build.yml | 2 +- .github/workflows/scorecards-analysis.yml | 2 +- 6 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e7a5e2f12cdd..fe03d2fbca33 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -104,7 +104,7 @@ jobs: # Now checkout Suricata for the bundle script. - name: Checking out Suricata - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + uses: actions/checkout@v3.5.3 - name: Fetching libhtp run: | @@ -183,7 +183,7 @@ jobs: key: ${{ github.job }}-dnf - run: echo "keepcache=1" >> /etc/dnf/dnf.conf - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 # Download and extract dependency archives created during prep # job. @@ -300,7 +300,7 @@ jobs: path: ~/.cargo/registry key: cargo-registry - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 # Download and extract dependency archives created during prep # job. @@ -391,7 +391,7 @@ jobs: key: ${{ github.job }}-dnf - run: echo "keepcache=1" >> /etc/dnf/dnf.conf - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 # Prebuild check for duplicate SIDs - name: Check for duplicate SIDs @@ -644,7 +644,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -736,7 +736,7 @@ jobs: systemd-devel \ which \ zlib-devel - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -824,7 +824,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: name: prep @@ -921,7 +921,7 @@ jobs: systemd-devel \ which \ zlib-devel - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1014,7 +1014,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: name: prep @@ -1116,7 +1116,7 @@ jobs: systemd-devel \ which \ zlib-devel - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1208,7 +1208,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 with: name: prep @@ -1298,7 +1298,7 @@ jobs: which \ zlib-devel - run: adduser suricata - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1388,7 +1388,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1460,7 +1460,7 @@ jobs: # packaged Rust version is too old for coverage, so get from rustup - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1580,7 +1580,7 @@ jobs: # packaged Rust version is too old for coverage, so get from rustup - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.63.0 -y - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1668,7 +1668,7 @@ jobs: zlib1g-dev \ exuberant-ctags \ dpdk-dev - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1815,7 +1815,7 @@ jobs: zlib1g \ zlib1g-dev \ exuberant-ctags - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1906,7 +1906,7 @@ jobs: - name: Install Coccinelle run: | apt -y install coccinelle - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -1984,7 +1984,7 @@ jobs: zlib1g \ zlib1g-dev - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2058,7 +2058,7 @@ jobs: linux-headers-$(uname -r) - name: Checkout Netmap repository - uses: actions/checkout@v3 + uses: actions/checkout@v3.5.3 with: repository: luigirizzo/netmap # gets cloned to $GITHUB_WORKSPACE/netmap/ @@ -2071,7 +2071,7 @@ jobs: make -j2 sudo make install - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2169,7 +2169,7 @@ jobs: ninja -C build install ldconfig cd $HOME - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2239,7 +2239,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2313,7 +2313,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2368,7 +2368,7 @@ jobs: run: cargo install --debug --version 0.24.3 cbindgen - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - run: pip3 install PyYAML - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - name: Downloading prep archive uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: @@ -2401,7 +2401,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f with: msystem: MINGW64 @@ -2411,7 +2411,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2457,7 +2457,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: msys2/setup-msys2@v2 with: msystem: MINGW64 @@ -2467,7 +2467,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep @@ -2501,7 +2501,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f with: msystem: MINGW64 @@ -2511,7 +2511,7 @@ jobs: # preinstalled one to be picked up by configure - name: cbindgen run: cargo install --root /usr --force --debug --version 0.24.3 cbindgen - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: prep diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a4d2788c79cf..17b0f75f7332 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] steps: - name: Checkout repository - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v3.5.3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 76ff7857b98a..3e9d8f1207aa 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -86,7 +86,7 @@ jobs: # My patience simply ran too short to keep on looking. See follow-on # action to manually fix this up. - name: Checkout - might be merge commit! - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v3.5.3 with: fetch-depth: 0 # Use last commit of branch, not potential merge commit! diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2cf8f4c8049e..9561cbd673b0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,7 +65,7 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install cbindgen run: cargo install --debug cbindgen - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - run: git config --global --add safe.directory /__w/suricata/suricata - run: ./scripts/bundle.sh - run: ./autogen.sh diff --git a/.github/workflows/scan-build.yml b/.github/workflows/scan-build.yml index 54cf741c6bcd..55b31d84397a 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -59,7 +59,7 @@ jobs: software-properties-common \ zlib1g \ zlib1g-dev - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 - run: ./scripts/bundle.sh - run: ./autogen.sh - run: scan-build-16 ./configure --enable-dpdk --enable-nfqueue --enable-nflog diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 958c84b88d19..2fdbe14f6417 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v3.5.3 with: persist-credentials: false