github-ci: update actions/checkout

pull/10396/head
Jason Ish 1 year ago committed by Victor Julien
parent 32d55febed
commit e786297497

@ -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

@ -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

@ -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

@ -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.

@ -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!

@ -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

@ -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

Loading…
Cancel
Save