-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ic-http-gateway): add initial ic-http-gateway library
- Loading branch information
1 parent
5e194e4
commit 5df7050
Showing
40 changed files
with
6,602 additions
and
1,088 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build_and_test_rust: | ||
name: Build and Test Rust | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup DFX | ||
uses: dfinity/setup-dfx@main | ||
with: | ||
dfx-version: 'auto' | ||
|
||
- name: Download PocketIC | ||
run: ./scripts/download-pocket-ic.sh | ||
|
||
- name: Build Cargo crates | ||
run: cargo build --release | ||
|
||
- name: Build canisters | ||
run: dfx build --check | ||
|
||
- name: Test Cargo crates | ||
run: POCKET_IC_BIN=$(pwd)/pocket-ic cargo test --all-features | ||
|
||
- name: Build Cargo docs | ||
run: cargo doc | ||
|
||
- name: Lint Rust | ||
run: cargo clippy --all-targets --all-features | ||
|
||
- name: Check Rust formatting | ||
run: cargo fmt --all -- --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,4 +1,8 @@ | ||
node_modules | ||
dist | ||
target/ | ||
.dfx/ | ||
node_modules/ | ||
dist/ | ||
pocket-ic | ||
.env | ||
|
||
.DS_Store | ||
.idea |
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 @@ | ||
20.13.1 |
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,2 +1,8 @@ | ||
node_modules | ||
dist | ||
target/ | ||
.dfx/ | ||
node_modules/ | ||
dist/ | ||
pocket-ic | ||
.env | ||
|
||
.DS_Store |
Oops, something went wrong.