Skip to content

Commit

Permalink
refactor: Replace google signer with Signing Context (#266)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Mar 29, 2023
1 parent 77b6c99 commit 90cf840
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 469 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,13 @@ jobs:
args: --all-features

unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-11
- windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install cargo-nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features -- --show-output
run: cargo nextest run --no-fail-fast
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: full
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ reqwest = { version = "0.11", features = ["blocking", "json"] }
temp-env = "0.3"
tokio = { version = "1", features = ["full"] }
ureq = { version = "2.5" }
pretty_assertions = "1.3"
1 change: 0 additions & 1 deletion src/google/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
mod constants;
mod credential;
mod signer;
mod v4;
pub use credential::Token;
pub use credential::TokenLoad;
pub use signer::Builder;
Expand Down
Loading

1 comment on commit 90cf840

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for reqsign ready!

✅ Preview
https://reqsign-680z1ee72-xuanwo.vercel.app

Built with commit 90cf840.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.