-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix `Cargo.lock` Wasn't commited with the last release or similar. To avoid conflicts * Add CI check for clean repo after tests/checks Should catch forgotten lockfile * Remove unused invocation of `cargo llvm-cov` This was forgotten when removing the coverage upload. We still generated the coverage file * Bump actions/checkout to suppress warning
- Loading branch information
1 parent
7a1b344
commit e4860e2
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,14 +31,12 @@ jobs: | |
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust toolchain | ||
uses: actions-rust-lang/[email protected] | ||
- name: Setup nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Setup cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
- name: Rustfmt | ||
run: cargo fmt --all -- --check | ||
|
@@ -47,7 +45,18 @@ jobs: | |
run: cargo clippy ${{ matrix.flags }} --all-targets --all -- -D warnings | ||
|
||
- name: Tests | ||
run: cargo llvm-cov nextest --all ${{ matrix.flags }} --lcov --output-path lcov.info | ||
run: cargo nextest run --all ${{ matrix.flags }} | ||
|
||
- name: Check for clean repo | ||
shell: bash | ||
run: | | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "there are changes"; | ||
git status --porcelain | ||
exit 1 | ||
else | ||
echo "no changes in working directory"; | ||
fi | ||
- name: Check lockfile | ||
run: cargo check --locked ${{ matrix.flags }} --all-targets --all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.