Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions: bump actions/checkout from 3.3.0 to 4.0.0 #184

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ jobs:

# Now checkout Suricata for the bundle script.
- name: Checking out Suricata
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.0.0

- name: Fetching libhtp
run: |
@@ -189,7 +189,7 @@ jobs:
key: ${{ github.job }}-dnf
- run: echo "keepcache=1" >> /etc/dnf/dnf.conf

- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0

# Download and extract dependency archives created during prep
# job.
@@ -306,7 +306,7 @@ jobs:
path: ~/.cargo/registry
key: cargo-registry

- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0

# Download and extract dependency archives created during prep
# job.
@@ -395,7 +395,7 @@ jobs:
key: ${{ github.job }}-dnf
- run: echo "keepcache=1" >> /etc/dnf/dnf.conf

- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0

# Prebuild check for duplicate SIDs
- name: Check for duplicate SIDs
@@ -791,7 +791,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -885,7 +885,7 @@ jobs:
systemd-devel \
which \
zlib-devel
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -978,7 +978,7 @@ jobs:
sudo \
which \
zlib-devel
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1075,7 +1075,7 @@ jobs:
systemd-devel \
which \
zlib-devel
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1168,7 +1168,7 @@ jobs:
sudo \
which \
zlib-devel
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1258,7 +1258,7 @@ jobs:
which \
zlib-devel
- run: adduser suricata
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1348,7 +1348,7 @@ jobs:
sudo \
which \
zlib-devel
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1420,7 +1420,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1540,7 +1540,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1628,7 +1628,7 @@ jobs:
zlib1g-dev \
exuberant-ctags \
dpdk-dev
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1775,7 +1775,7 @@ jobs:
zlib1g \
zlib1g-dev \
exuberant-ctags
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1850,7 +1850,7 @@ jobs:
zlib1g \
zlib1g-dev
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -1924,7 +1924,7 @@ jobs:
linux-headers-$(uname -r)

- name: Checkout Netmap repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.0.0
with:
repository: luigirizzo/netmap
# gets cloned to $GITHUB_WORKSPACE/netmap/
@@ -1937,7 +1937,7 @@ jobs:
make -j2
sudo make install

- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2035,7 +2035,7 @@ jobs:
ninja -C build install
ldconfig
cd $HOME
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2113,7 +2113,7 @@ jobs:
texlive-latex-extra \
zlib1g \
zlib1g-dev
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2196,7 +2196,7 @@ jobs:
texlive-latex-extra \
zlib1g \
zlib1g-dev
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2279,7 +2279,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2358,7 +2358,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2432,7 +2432,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2487,7 +2487,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@v4.0.0
- name: Downloading prep archive
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
@@ -2520,7 +2520,7 @@ jobs:
with:
path: ~/.cargo
key: ${{ github.job }}-cargo
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
@@ -2530,7 +2530,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2576,7 +2576,7 @@ jobs:
with:
path: ~/.cargo
key: ${{ github.job }}-cargo
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
@@ -2586,7 +2586,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
@@ -2620,7 +2620,7 @@ jobs:
with:
path: ~/.cargo
key: ${{ github.job }}-cargo
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
@@ -2630,7 +2630,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@v4.0.0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: prep
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -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@v4.0.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
2 changes: 1 addition & 1 deletion .github/workflows/commits.yml
Original file line number Diff line number Diff line change
@@ -71,7 +71,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@v4.0.0
with:
fetch-depth: 0
# The action above is supposed to do this for us, but it doesn't appear to stick.
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
@@ -90,7 +90,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@v4.0.0
with:
fetch-depth: 0
# Use last commit of branch, not potential merge commit!
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -69,7 +69,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@v4.0.0
- run: git config --global --add safe.directory /__w/suricata/suricata
- run: ./scripts/bundle.sh
- run: ./autogen.sh
2 changes: 1 addition & 1 deletion .github/workflows/scan-build.yml
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ jobs:
software-properties-common \
zlib1g \
zlib1g-dev
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.0.0
- run: ./scripts/bundle.sh
- run: ./autogen.sh
- run: scan-build-16 ./configure --enable-dpdk --enable-nfqueue --enable-nflog
2 changes: 1 addition & 1 deletion .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.0.0
with:
persist-credentials: false