From: Jason Ish Date: Mon, 12 Feb 2024 06:53:43 +0000 (-0600) Subject: github-ci: update actions/checkout X-Git-Tag: suricata-8.0.0-beta1~1773 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78629749789ca656136f699bccb7a7a2fad0d6c;p=thirdparty%2Fsuricata.git github-ci: update actions/checkout --- diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 6331ed4c12..b7efe11864 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout PR code - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index fdc282e14e..6d8b7379a3 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -108,7 +108,7 @@ jobs: # Now checkout Suricata for the bundle script. - name: Checking out Suricata - uses: actions/checkout@v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Fetching libhtp run: | @@ -196,7 +196,7 @@ jobs: - name: Determine number of CPUs run: echo CPUS=$(nproc --all) >> $GITHUB_ENV - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Download and extract dependency archives created during prep # job. @@ -328,7 +328,7 @@ jobs: - name: Determine number of CPUs run: echo CPUS=$(nproc --all) >> $GITHUB_ENV - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Download and extract dependency archives created during prep # job. @@ -419,7 +419,7 @@ jobs: - name: Determine number of CPUs run: echo CPUS=$(nproc --all) >> $GITHUB_ENV - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Prebuild check for duplicate SIDs - name: Check for duplicate SIDs @@ -745,7 +745,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -841,7 +841,7 @@ jobs: systemd-devel \ which \ zlib-devel - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -936,7 +936,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1036,7 +1036,7 @@ jobs: systemd-devel \ which \ zlib-devel - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1126,7 +1126,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1212,7 +1212,7 @@ jobs: which \ zlib-devel - run: adduser suricata - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1304,7 +1304,7 @@ jobs: sudo \ which \ zlib-devel - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1378,7 +1378,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1504,7 +1504,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1598,7 +1598,7 @@ jobs: zlib1g-dev \ exuberant-ctags \ dpdk-dev - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1753,7 +1753,7 @@ jobs: zlib1g \ zlib1g-dev \ exuberant-ctags - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1834,7 +1834,7 @@ jobs: zlib1g \ zlib1g-dev - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -1914,7 +1914,7 @@ jobs: linux-headers-$(uname -r) - name: Checkout Netmap repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: repository: luigirizzo/netmap # gets cloned to $GITHUB_WORKSPACE/netmap/ @@ -1927,7 +1927,7 @@ jobs: make -j ${{ env.CPUS }} sudo make install - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2031,7 +2031,7 @@ jobs: ninja -C build install ldconfig cd $HOME - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2114,7 +2114,7 @@ jobs: texlive-latex-extra \ zlib1g \ zlib1g-dev - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2199,7 +2199,7 @@ jobs: texlive-latex-extra \ zlib1g \ zlib1g-dev - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2283,7 +2283,7 @@ jobs: - name: Install Rust run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION_MIN} -y - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2369,7 +2369,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2449,7 +2449,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2508,7 +2508,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Downloading prep archive uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: @@ -2541,7 +2541,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: msys2/setup-msys2@v2 with: msystem: MINGW64 @@ -2551,7 +2551,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2597,7 +2597,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: msys2/setup-msys2@v2 with: msystem: MINGW64 @@ -2607,7 +2607,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep @@ -2641,7 +2641,7 @@ jobs: with: path: ~/.cargo key: ${{ github.job }}-cargo - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: msys2/setup-msys2@v2 with: msystem: MINGW64 @@ -2651,7 +2651,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.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe with: name: prep diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3d13d276b0..c59b712128 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,7 @@ jobs: # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] steps: - name: Checkout repository - uses: actions/checkout@v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index e80375643b..1ca2a48c58 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -70,7 +70,7 @@ jobs: cd $HOME/.cargo/bin curl -OL https://github.com/eqrion/cbindgen/releases/download/v0.24.3/cbindgen chmod 755 cbindgen - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 # The action above is supposed to do this for us, but it doesn't appear to stick. diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 164f365807..ca3ddc87c8 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -85,7 +85,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.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 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 c8fd6797bf..0b38f36ae4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -68,7 +68,7 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install cbindgen run: cargo install --debug cbindgen - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - 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 608cffb6c3..4809706582 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -62,7 +62,7 @@ jobs: software-properties-common \ zlib1g \ zlib1g-dev - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - run: ./scripts/bundle.sh - run: ./autogen.sh - run: scan-build-16 ./configure --enable-dpdk --enable-nfqueue --enable-nflog