Skip to content

Commit a5278f4

Browse files
committed
ci: remove cargo update test
Being the stable branch, cargo update doesn't make much sense unless we have a specific reason to update a crate. The audit check has been left, which will alert us to crates that may need an update.
1 parent 77057e1 commit a5278f4

1 file changed

Lines changed: 0 additions & 68 deletions

File tree

.github/workflows/rust-checks.yml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -89,71 +89,3 @@ jobs:
8989
IGNORES+=(--ignore RUSTSEC-2019-0036)
9090
9191
cargo audit -D warnings "${IGNORES[@]}"
92-
93-
# This job uses our MSRV and does a `cargo update` with the idea
94-
# that it should catch early any dependencies that have done a patch
95-
# update pulling in a new MSRV. This would be an indicator that we
96-
# have to more tightly pin the dependency, or even attempt to pin a
97-
# transitive dependency.
98-
update:
99-
name: Cargo Update
100-
runs-on: ubuntu-latest
101-
container: almalinux:9
102-
steps:
103-
- name: Cache cargo registry
104-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
105-
with:
106-
path: ~/.cargo
107-
key: ${{ github.job }}-cargo
108-
109-
- name: Install system packages
110-
run: |
111-
dnf -y install dnf-plugins-core epel-release
112-
dnf config-manager --set-enabled crb
113-
dnf -y install \
114-
autoconf \
115-
automake \
116-
cbindgen \
117-
diffutils \
118-
numactl-devel \
119-
dpdk-devel \
120-
file-devel \
121-
gcc \
122-
gcc-c++ \
123-
git \
124-
jansson-devel \
125-
jq \
126-
libtool \
127-
libyaml-devel \
128-
libnfnetlink-devel \
129-
libnetfilter_queue-devel \
130-
libnet-devel \
131-
libcap-ng-devel \
132-
libevent-devel \
133-
libmaxminddb-devel \
134-
libpcap-devel \
135-
libtool \
136-
lz4-devel \
137-
make \
138-
pcre2-devel \
139-
pkgconfig \
140-
python3-devel \
141-
python3-sphinx \
142-
python3-yaml \
143-
sudo \
144-
which \
145-
zlib-devel
146-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
147-
- name: Install Minimum Supported Rust Version
148-
run: |
149-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $(awk -F '"' '/rust-version/ { print $2 }' rust/Cargo.toml.in)
150-
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
151-
- name: Configure Suricata
152-
run: |
153-
./autogen.sh
154-
./configure --enable-warnings
155-
- name: Cargo Update and Build
156-
working-directory: rust
157-
run: |
158-
cargo update
159-
cargo build --all-features --all-targets

0 commit comments

Comments
 (0)