Skip to content
Open
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
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: cargo fmt --all -- --check

- name: Run cargo clippy
run: cargo clippy --all-features --workspace --tests --examples -- -D clippy::all
run: cargo clippy --all-features --workspace --tests --examples --locked -- -D clippy::all

check:
strategy:
Expand All @@ -50,29 +50,29 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Check all features
run: cargo check --all-features
run: cargo check --all-features --locked

- name: Check sentry-core without default features
run: cargo check --no-default-features
run: cargo check --no-default-features --locked
working-directory: sentry-core

- name: Check default features
run: cargo check
run: cargo check --locked

- name: Check sentry panic feature without defaults
run: cargo check --no-default-features --features panic
run: cargo check --no-default-features --features panic --locked
working-directory: sentry

- name: Check sentry curl feature
run: cargo check --features curl
run: cargo check --features curl --locked
working-directory: sentry

- name: Check sentry curl+panic without defaults
run: cargo check --no-default-features --features curl,panic
run: cargo check --no-default-features --features curl,panic --locked
working-directory: sentry

- name: Check sentry-actix
run: cargo check
run: cargo check --locked
working-directory: sentry-actix

test:
Expand All @@ -97,15 +97,15 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Run cargo test
run: cargo test --workspace --all-features --all-targets
run: cargo test --workspace --all-features --all-targets --locked

- name: Run cargo doc tests
run: cargo test --workspace --all-features --doc
run: cargo test --workspace --all-features --doc --locked

# Keep this separate so we continue asserting the default+test feature
# combination for sentry explicitly, even with broader all-features coverage.
- name: Test sentry default+test feature combination
run: cargo test -p sentry --features test
run: cargo test -p sentry --features test --locked

codecov:
name: Code Coverage
Expand All @@ -120,7 +120,7 @@ jobs:

- uses: taiki-e/install-action@cargo-llvm-cov

- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info --locked

- uses: codecov/codecov-action@v5
with:
Expand All @@ -142,7 +142,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Run cargo doc
run: cargo doc --workspace --all-features --document-private-items --no-deps
run: cargo doc --workspace --all-features --document-private-items --no-deps --locked

required:
name: Check required jobs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
rustup toolchain install ${{ matrix.rust }} --profile minimal --component clippy --no-self-update
rustup default ${{ matrix.rust }}

- run: cargo clippy --all-features --workspace --tests --examples -- -D clippy::all
- run: cargo clippy --all-features --workspace --tests --examples --locked -- -D clippy::all

- run: cargo test --workspace --all-features
- run: cargo test --workspace --all-features --locked

weekly-audit:
name: Audit
Expand Down