Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan committed Sep 13, 2024
1 parent 3d802be commit 6116110
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/identity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Identity

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build -p atrium-identity --verbose
- name: Run tests
run: |
cargo test -p atrium-identity --lib
cargo test -p atrium-identity --lib --no-default-features --features doh-handle-resolver
23 changes: 23 additions & 0 deletions .github/workflows/oauth-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: OAuth Client

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build -p atrium-oauth-client --verbose
- name: Run tests
run: |
cargo test -p atrium-oauth-client --lib
cargo test -p atrium-oauth-client --lib --no-default-features
3 changes: 1 addition & 2 deletions atrium-oauth/identity/src/handle/doh_dns_txt_resolver.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
use super::DnsTxtResolver;
use async_trait::async_trait;
use atrium_xrpc::http::{uri::InvalidUri, Uri};
use atrium_xrpc::http::{uri::InvalidUri, StatusCode, Uri};
use atrium_xrpc::HttpClient;
use hickory_proto::op::{Message, Query};
use hickory_proto::rr::{RData, RecordType};
use reqwest::StatusCode;
use std::sync::Arc;
use thiserror::Error;

Expand Down

0 comments on commit 6116110

Please sign in to comment.