mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-11-26 00:53:56 +01:00
Add linter to CI (#823)
Co-authored-by: wiesche <wiesche89@googlemail.com>
This commit is contained in:
committed by
GitHub
co-authored by
wiesche
parent
ec1e9910af
commit
fe79256467
@@ -2,6 +2,17 @@ name: Continuous Integration
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
clippy:
|
||||
name: Cargo clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
submodules: recursive
|
||||
- run: rustup toolchain install 1.99.0 --profile minimal --component clippy
|
||||
- run: cargo +1.99.0 clippy --workspace --all-targets -- -D warnings
|
||||
|
||||
# Run tests alongside Clippy, even if lint fails
|
||||
linux-tests:
|
||||
name: Linux Tests
|
||||
runs-on: ubuntu-latest
|
||||
@@ -36,4 +47,4 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Tests
|
||||
run: cargo test --release --all
|
||||
run: cargo test --release --all
|
||||
|
||||
Reference in New Issue
Block a user