Skip to content

Commit 8d0c69a

Browse files
committed
Use term fmt instead of lint
We only run the formatter (`cargo fmt`) not the linter (`cargo clippy`). Use the appropriate term in the test script and the CI configuration.
1 parent abcec45 commit 8d0c69a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ on: [push, pull_request]
33
name: Continuous integration
44

55
jobs:
6-
lint_fuzz_stable:
7-
name: Lint + Fuzz
6+
fmt_fuzz_stable:
7+
name: Fmt + Fuzz
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Running fuzzer
2525
env:
2626
DO_FUZZ: true
27-
DO_LINT: true
27+
DO_FMT: true
2828
run: ./contrib/test.sh
2929

3030
Nightly:

contrib/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ then
88
alias cargo="cargo +$TOOLCHAIN"
99
fi
1010

11-
# Lint if told to
12-
if [ "$DO_LINT" = true ]
11+
# Format if told to
12+
if [ "$DO_FMT" = true ]
1313
then
1414
(
1515
rustup component add rustfmt

0 commit comments

Comments
 (0)