|
|
@ -24,39 +24,17 @@ jobs: |
|
|
|
- name: Checkout Repository |
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- name: Install stable toolchain |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
profile: default |
|
|
|
toolchain: stable |
|
|
|
override: true |
|
|
|
default: true |
|
|
|
components: rustfmt, clippy |
|
|
|
|
|
|
|
- name: Install stable toolchain |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
profile: minimal |
|
|
|
toolchain: nightly |
|
|
|
override: false |
|
|
|
default: false |
|
|
|
components: rustfmt |
|
|
|
|
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
name: Enable Rust Caching |
|
|
|
|
|
|
|
- name: Format Check |
|
|
|
run: cargo +nightly fmt -- --check |
|
|
|
run: cargo fmt -- --check |
|
|
|
|
|
|
|
- name: Clippy |
|
|
|
uses: actions-rs/clippy-check@v1 |
|
|
|
with: |
|
|
|
token: ${{ github.token }} |
|
|
|
- name: Clippy Check |
|
|
|
run: cargo clippy --workspace -- -D warnings |
|
|
|
|
|
|
|
- name: Audit |
|
|
|
uses: actions-rs/audit-check@v1 |
|
|
|
with: |
|
|
|
token: ${{ github.token }} |
|
|
|
- name: Audit Check |
|
|
|
run: cargo audit |
|
|
|
|
|
|
|
- name: Check Bench |
|
|
|
run: cargo bench --no-run |
|
|
@ -65,7 +43,7 @@ jobs: |
|
|
|
run: cargo test --no-run -- --ignored |
|
|
|
|
|
|
|
- name: Test |
|
|
|
run: bash ./scripts/run_tests.sh |
|
|
|
run: bash ./scripts/run_tests.sh |
|
|
|
|
|
|
|
- name: Generate Documentation |
|
|
|
run: | |
|
|
|