Skip to content

Commit

Permalink
Merge branch 'main' into fix/winget
Browse files Browse the repository at this point in the history
  • Loading branch information
niStee authored Jan 29, 2024
2 parents 08e1ce3 + b43f2c8 commit 252e64a
Show file tree
Hide file tree
Showing 6 changed files with 327 additions and 287 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/check-and-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,13 @@ jobs:
if: matrix.use_cross == true
run: curl -fL --retry 3 https://github.com/cross-rs/cross/releases/download/v${{ env.CROSS_VER }}/cross-x86_64-unknown-linux-musl.tar.gz | tar vxz -C /usr/local/bin

- name: Run cargo check
- name: Run cargo/cross check
run: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} check --locked --target ${{ matrix.target }}

- name: Run cargo clippy
- name: Run cargo/cross clippy
run: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} clippy --locked --target ${{ matrix.target }} --all-features -- -D warnings

- name: Run cargo test
# ONLY run test with cargo
if: matrix.use_cross == false
run: cargo test --locked --target ${{ matrix.target }}
Loading

0 comments on commit 252e64a

Please sign in to comment.