Skip to content

Commit

Permalink
Update Github actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Jun 11, 2024
1 parent a55609d commit f33a249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["service_account,hyper-rustls", "service_account,hyper-tls", "service_account,hyper-rustls,hyper-tls", "service_account","hyper-rustls","hyper-tls"]
features: ["service_account,hyper-rustls", "service_account", "hyper-rustls"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features=${{ matrix.features }}
- run: cargo test --no-default-features --features ${{ matrix.features }}

doc:
name: yup-oauth2
Expand All @@ -32,12 +29,7 @@ jobs:
toolchain: nightly
profile: minimal
default: true
- uses: actions-rs/cargo@v1
with:
command: doc
args: --all-features
env:
RUSTDOCFLAGS: --cfg yup_oauth2_docsrs
- run: cargo doc --no-deps --cfg yup_oauth2_docsrs

fmt:
name: yup-oauth2
Expand All @@ -49,7 +41,4 @@ jobs:
toolchain: stable
profile: minimal
default: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- run: cargo fmt -- --check
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ http-body-util = "0.1"
hyper = "1"
hyper-util = { version = "0.1.5", features = ["client-legacy", "server-auto", "http1", "http2", "server-graceful"] }
hyper-rustls = { version = "0.27", optional = true, default-features = false, features = ["http1", "http2", "rustls-native-certs", "ring"] }
hyper-tls = { version = "0.6.0", optional = true }
log = "0.4"
percent-encoding = "2"
rustls = { version = "^0.23", optional = true, features = ["ring"] }
Expand Down

0 comments on commit f33a249

Please sign in to comment.