Skip to content

Commit

Permalink
draft: add CI
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Nov 6, 2024
1 parent e9d5296 commit c110d69
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Charts

on:
pull_request:
branches: [ main, release/** ]
branches: [main, release/**]
push:
branches: [ main, release/** ]
tags: [ v* ]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.11"
python-version: '3.11'

- name: Setup Helm
uses: Azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.11"
python-version: '3.11'

- name: Setup Helm
uses: Azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/conformity-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

permissions:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build project
run: npm run build
working-directory: ./execution-apis

- name: Upload openrpc.json as an artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
Expand All @@ -63,10 +63,10 @@ jobs:
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18

- name: Install make
run: sudo apt-get update; sudo apt-get install build-essential -y

- name: Checkout repo
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: openrpc

- name: Rename file
run: mv openrpc.json openrpc_exec_apis.json

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
Expand Down Expand Up @@ -89,5 +89,5 @@ jobs:
if: ${{ always() && !cancelled() }}
with:
check_name: Dapp Test Report
report_paths: "**/*.xml"
report_paths: '**/*.xml'
detailed_summary: true
8 changes: 4 additions & 4 deletions .github/workflows/dev-tool-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Dev Tool Tests

on:
pull_request:
branches: [ main, release/** ]
branches: [main, release/**]
push:
branches: [ main, release/** ]
tags: [ v* ]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -30,7 +30,7 @@ jobs:
web3js:
name: Web3js
uses: ./.github/workflows/dev-tool-workflow.yml
needs: [ hardhat, truffle]
needs: [hardhat, truffle]
with:
command: cd ./tools/web3js-example/ && npm run test
directory: ./tools/web3js-example
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Postman Endpoint Tests

on:
pull_request:
branches: [ main, release/** ]
branches: [main, release/**]
push:
branches: [ main, release/** ]
tags: [ v* ]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
Expand All @@ -13,7 +13,7 @@ concurrency:

permissions:
contents: read

jobs:
subgraph-workflow:
runs-on: smart-contracts-linux-medium
Expand Down Expand Up @@ -43,15 +43,15 @@ jobs:
run: cp .env.example .env

- name: Run local node
run: npx hedera start -d
run: npx hedera start -d
timeout-minutes: 5

- name: Compile contracts
run: npx hardhat compile

- name: Deploy and interact with contracts
run: npx hardhat prepare

- name: Generate types
run: npm run graph-codegen

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, release/**]
push:
branches: [main, release/**]
branches: [main, release/**, 3207-fix-remove-usage-of-mn-client-in-sdk-client]
tags: [v*]

concurrency:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: Heap Snapshots
path: "**/*.heapsnapshot"
path: '**/*.heapsnapshot'
if-no-files-found: ignore

- name: Upload coverage report
Expand Down

0 comments on commit c110d69

Please sign in to comment.