Skip to content
Merged
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
21 changes: 3 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- "release/**"
pull_request:

env:
RUSTFLAGS: -Dwarnings

jobs:
lints:
name: Lints
Expand Down Expand Up @@ -42,43 +45,29 @@ jobs:

- name: Check all features
run: cargo check --all-features
env:
RUSTFLAGS: -Dwarnings

- name: Check sentry-core without default features
run: cargo check --no-default-features
working-directory: sentry-core
env:
RUSTFLAGS: -Dwarnings

- name: Check default features
run: cargo check
env:
RUSTFLAGS: -Dwarnings

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

- name: Check sentry curl feature
run: cargo check --features curl
working-directory: sentry
env:
RUSTFLAGS: -Dwarnings

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

- name: Check sentry-actix
run: cargo check
working-directory: sentry-actix
env:
RUSTFLAGS: -Dwarnings

test:
strategy:
Expand Down Expand Up @@ -122,13 +111,9 @@ jobs:
- name: Check sentry-core without default features
run: cargo check --no-default-features
working-directory: sentry-core
env:
RUSTFLAGS: -Dwarnings

- name: Check default features
run: cargo check
env:
RUSTFLAGS: -Dwarnings

- name: Test sentry test feature
run: cargo test --features=test
Expand Down