mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-04-29 22:14:28 +02:00
ci: run clippy before building [skip ci]
This commit is contained in:
parent
cc83a390df
commit
a1fcd9c0bc
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -38,6 +38,12 @@ jobs:
|
||||
with:
|
||||
cache-on-failure: "true"
|
||||
|
||||
- name: cargo clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: --no-deps -- -D warnings
|
||||
|
||||
- name: cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
@ -45,12 +51,6 @@ jobs:
|
||||
args: --release --target=x86_64-unknown-linux-musl
|
||||
use-cross: true
|
||||
|
||||
- name: cargo clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: --no-deps -- -D warnings
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user