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

Clean CI #2

Merged
merged 1 commit into from
Feb 6, 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
9 changes: 1 addition & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@ jobs:
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.SSH_KEY_POOL }}
- name: Check all tests
run: cargo test
- name: Clippy with features
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Install Nightly
run: rustup toolchain install nightly
- name: Add nightly toolchain for rustfmt
run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
- name: Check format
run: cargo +nightly fmt --verbose --all -- --check
run: cargo fmt --verbose --all -- --check
- name: Install llvm-cov tool for cargo
run: cargo +stable install cargo-llvm-cov --locked
- name: Code coverage
Expand Down
1 change: 0 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ignore = ["**/out/bindings/**"]
# Format comments
comment_width = 100
wrap_comments = true