mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-04-30 06:24:27 +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:
|
with:
|
||||||
cache-on-failure: "true"
|
cache-on-failure: "true"
|
||||||
|
|
||||||
|
- name: cargo clippy
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: clippy
|
||||||
|
args: --no-deps -- -D warnings
|
||||||
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -45,12 +51,6 @@ jobs:
|
|||||||
args: --release --target=x86_64-unknown-linux-musl
|
args: --release --target=x86_64-unknown-linux-musl
|
||||||
use-cross: true
|
use-cross: true
|
||||||
|
|
||||||
- name: cargo clippy
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: clippy
|
|
||||||
args: --no-deps -- -D warnings
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user