forked from makarski/gauth-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error handling improvements & refactor, add CI
- Loading branch information
1 parent
023be00
commit 10c114c
Showing
9 changed files
with
237 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Cargo checks | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
clippy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | ||
- run: cargo clippy --workspace --all-features --all-targets -- -D warnings | ||
- run: cargo test --workspace --all-features --all-targets | ||
- run: cargo fmt -- --check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
description = "HTTP Client for Google OAuth2" | ||
name = "gauth" | ||
version = "0.8.0" | ||
version = "0.9.0" | ||
authors = ["Simon Makarski <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -29,7 +29,7 @@ log = { version = "0.4", optional = true } | |
|
||
[dev-dependencies] | ||
mockito = "1.2.0" | ||
tokio = { version = "1.33.0", features = ["test-util"] } | ||
tokio = { version = "1.33.0", features = ["test-util", "rt", "macros", "rt-multi-thread"] } | ||
env_logger = "0.10.0" | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.