Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Jan 17, 2024
1 parent 5744d5f commit 7089dc6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,24 @@ jobs:
command: fmt
args: --all -- --check

- name: cargo test --locked (linux & windows)
- name: cargo test
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: test
if: runner.os != 'macOS'

- name: cargo test --locked (macOS)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
- name: cargo clippy --locked (Linux & Windows)
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # @v1.0.7
with:
command: test --no-default-features
if: runner.os == 'macOS'
token: ${{ secrets.GITHUB_TOKEN }}
args: --locked --all-targets -- -D warnings
if: runner.os != 'macOS'

- name: cargo clippy --locked
- name: cargo clippy --locked (macOS)
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # @v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --locked --all-targets -- -D warnings
args: --locked --all-targets --no-default-features -- -D warnings
if: runner.os == 'macOS'

- name: Check Documentation
run: cargo doc --locked --all --no-deps
Expand Down

0 comments on commit 7089dc6

Please sign in to comment.