chore: don't treat clippy warnings as errors
All checks were successful
Rust / build (push) Successful in 1m17s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

This commit is contained in:
Paul Campbell 2024-07-02 18:29:52 +01:00
parent dfc0c1dc80
commit 7fdea2913a
3 changed files with 3 additions and 12 deletions

View file

@ -25,7 +25,7 @@ jobs:
- name: Clippy - name: Clippy
uses: https://git.kemitix.net/kemitix/rust@v0.3.1 uses: https://git.kemitix.net/kemitix/rust@v0.3.1
with: with:
args: clippy -- -D warnings args: clippy
- name: Build - name: Build
uses: https://git.kemitix.net/kemitix/rust@v0.3.1 uses: https://git.kemitix.net/kemitix/rust@v0.3.1

View file

@ -24,16 +24,7 @@ command = ["cargo", "check", "--all-targets", "--color", "always"]
need_stdout = false need_stdout = false
[jobs.clippy] [jobs.clippy]
command = [ command = ["cargo", "clippy", "--all-targets", "--color", "always"]
"cargo",
"clippy",
"--all-targets",
"--color",
"always",
"--",
"-Dwarnings",
]
# "-Wclippy::pedantic",
need_stdout = false need_stdout = false
[jobs.test] [jobs.test]

View file

@ -7,7 +7,7 @@ validate-dev-branch:
git rebase -i origin/main -x 'cargo fmt --check' git rebase -i origin/main -x 'cargo fmt --check'
git rebase -i origin/main -x 'cargo build' git rebase -i origin/main -x 'cargo build'
git rebase -i origin/main -x 'cargo test' git rebase -i origin/main -x 'cargo test'
git rebase -i origin/main -x 'cargo clippy -- -D warnings' git rebase -i origin/main -x 'cargo clippy'
start-ngrok: start-ngrok:
#!/usr/bin/env bash #!/usr/bin/env bash