Skip to content

Commit

Permalink
Update action versions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Jun 12, 2024
1 parent 12f3ae9 commit 206651d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,32 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["service_account,hyper-rustls", "service_account", "hyper-rustls"]
features: ["service_account,hyper-rustls", "service_account,hyper-tls", "service_account", "hyper-rustls"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
default: true
- run: cargo test --no-default-features --features ${{ matrix.features }}

doc:
name: yup-oauth2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
profile: minimal
default: true
- run: cargo doc --no-deps
- run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: --cfg yup_oauth2_docsrs

fmt:
name: yup-oauth2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
default: true
- run: cargo fmt -- --check
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ 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 206651d

Please sign in to comment.