This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: Rust CI
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -14,10 +14,10 @@ jobs:
|
||||
- name: Set up Rust
|
||||
run: rustup default stable
|
||||
- name: Build
|
||||
run: cargo build --all-features
|
||||
run: cargo build --all-features --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --all-features
|
||||
run: cargo test --all-features --verbose
|
||||
- name: Check formatting
|
||||
run: cargo fmt --check
|
||||
run: cargo fmt --check --all
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-features -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user