|
|
@ -16,15 +16,19 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- name: Setup Rust |
|
|
|
- name: Setup (rust) |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
uses: actions-rs/toolchain@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
profile: minimal |
|
|
|
profile: minimal |
|
|
|
toolchain: stable |
|
|
|
toolchain: stable |
|
|
|
components: clippy |
|
|
|
components: clippy |
|
|
|
- uses: actions-rs/clippy-check@v1 |
|
|
|
- name: Linting (clippy) |
|
|
|
|
|
|
|
uses: actions-rs/clippy-check@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
args: --all-features |
|
|
|
args: --all-features |
|
|
|
- name: Run tests |
|
|
|
- name: Tests (test) |
|
|
|
run: cargo test --verbose |
|
|
|
uses: actions-rs/cargo@v1 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
command: test |
|
|
|
|
|
|
|
args: --tests |
|
|
|