Initial commit
This commit is contained in:
32
.github/workflows/cargo-test.yml
vendored
Normal file
32
.github/workflows/cargo-test.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Cargo test & clippy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
||||
rust-clippy-analyze:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: Run rust-clippy
|
||||
run: cargo clippy --all-features
|
||||
Reference in New Issue
Block a user