Skip to content

Commit

Permalink
Merge pull request #230 from dermesser/update-ci
Browse files Browse the repository at this point in the history
Update Github actions configuration
  • Loading branch information
dermesser authored Jun 12, 2024
2 parents a55609d + 206651d commit e1a58b4
Showing 1 changed file with 10 additions and 25 deletions.
35 changes: 10 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,47 +9,32 @@ 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-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
- 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
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
- uses: actions-rs/cargo@v1
with:
command: doc
args: --all-features
- 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
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- run: cargo fmt -- --check

0 comments on commit e1a58b4

Please sign in to comment.