Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix forgotten Cargo.lock #850

Merged
merged 4 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check spelling
uses: crate-ci/typos@master
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.