-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Zilliqa/zilliqa-developer i…
…nto dependabot/npm_and_yarn/products/devex-apollo/decode-uri-component-0.2.2
- Loading branch information
Showing
1,534 changed files
with
340,406 additions
and
34,272 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "CI for Product Bridge" | ||
|
||
on: | ||
push: | ||
paths: | ||
- products/bridge/** | ||
- ".github/workflows/**" | ||
|
||
jobs: | ||
testing: | ||
runs-on: ubuntu-latest | ||
name: "Bridge Tests" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install nodes packages | ||
run: npm ci | ||
working-directory: products/bridge/bridge-web | ||
|
||
- name: Check bridge-web build | ||
run: npm run build | ||
working-directory: products/bridge/bridge-web | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Run Foundry tests | ||
run: forge test | ||
working-directory: products/bridge/smart-contracts |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
.github/workflows/ci-on-pr-bazel-test-ubuntu-20.04.disabled
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -17,24 +17,36 @@ jobs: | |
build-debug: | ||
runs-on: ubuntu-22.04 | ||
name: "Bazel Debug Build" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{github.event.pull_request.head.ref}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
|
||
- name: Bazel cache | ||
id: cache-bazel-debug | ||
uses: actions/[email protected] | ||
- id: "auth" | ||
name: "Authenticate to Google Cloud" | ||
uses: "google-github-actions/auth@v1" | ||
with: | ||
path: ~/.cache/bazel/ | ||
key: ${{ runner.os }}-bazel-debug | ||
token_format: "access_token" | ||
workload_identity_provider: "${{ secrets.GCP_PRD_GITHUB_WIF }}" | ||
service_account: "${{ secrets.GCP_PRD_GITHUB_SA_GCS_CACHE }}" | ||
create_credentials_file: true | ||
|
||
- name: Configure bazel GCS cache | ||
run: | | ||
export BAZEL_REMOTE_CACHE_CREDENTIALS_JSON='${{ steps.auth.outputs.credentials_file_path }}' | ||
export BAZEL_REMOTE_CACHE_ENDPOINT='${{ vars.BAZEL_REMOTE_CACHE_ENDPOINT }}' | ||
python config/gcp_cs_cache.py | ||
shell: bash | ||
|
||
- name: "Building debug" | ||
run: | | ||
bazelisk build --keep_going --disk_cache=~/.cache/bazel/ //... | ||
bazelisk build --keep_going //... | ||
- name: "Running tests" | ||
run: | | ||
bazelisk test --test_output=all --keep_going --disk_cache=~/.cache/bazel/ //... | ||
bazelisk test --test_output=all --keep_going //... |
Oops, something went wrong.