Skip to content

Commit

Permalink
updated CI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty committed Feb 2, 2024
1 parent ec0dfbc commit 887199b
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/debug_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
ci:
name: CI
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.2.0
secrets: inherit
with:
check-infra: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: Lookup Version
if: ${{ !inputs.deploy-app && inputs.version == '-current-' }}
secrets: inherit
uses: WalletConnect/ci_workflows/.github/workflows/release-get_deployed_version.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/release-get_deployed_version.yml@0.2.0
with:
task-name-stage: prod
task-name: ${{ vars.TASK_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ permissions:
jobs:
ci:
name: CI
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.2.0
secrets: inherit
with:
check-infra: false
check-app: true

release:
name: Release
uses: WalletConnect/ci_workflows/.github/workflows/release.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/release.yml@0.2.0
secrets: inherit
with:
infra-changed: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions:
jobs:
ci:
name: CI
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.2.0
secrets: inherit
with:
check-infra: ${{ inputs.check-infra }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/event_intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on:
group: ${{ vars.RUN_GROUP }}
steps:
- uses: actions/add-to-project@v0.1.0
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/WalletConnect/projects/20
github-token: ${{ secrets.ASSIGN_TO_PROJECT_GITHUB_TOKEN }}
Expand All @@ -28,7 +28,7 @@ jobs:
group: ${{ vars.RUN_GROUP }}
steps:
- name: Check Core Team membership
uses: tspascoal/get-user-teams-membership@v1
uses: tspascoal/get-user-teams-membership@v3
id: is-core-team
with:
username: ${{ github.event_name != 'pull_request' && github.event.issue.user.login || github.event.sender.login }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/event_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
group: ${{ vars.RUN_GROUP }}
steps:
- uses: actions/checkout@v4
- uses: WalletConnect/actions/github/paths-filter/@2.2.1
- uses: WalletConnect/actions/github/paths-filter/@2.4.0
id: filter
outputs:
infra: ${{ steps.filter.outputs.infra }}
Expand All @@ -48,7 +48,7 @@ jobs:
ci:
name: CI
needs: [ paths-filter ]
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/ci.yml@0.2.0
secrets: inherit
with:
check-app: ${{ needs.paths-filter.outputs.app == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/event_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
group: ${{ vars.RUN_GROUP }}
steps:
- uses: actions/checkout@v4
- uses: WalletConnect/actions/github/paths-filter/@2.2.1
- uses: WalletConnect/actions/github/paths-filter/@2.4.0
id: filter
outputs:
infra: ${{ steps.filter.outputs.infra }}
Expand All @@ -45,7 +45,7 @@ jobs:
release:
name: Release
needs: [ paths_filter ]
uses: WalletConnect/ci_workflows/.github/workflows/release.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/release.yml@0.2.0
secrets: inherit
with:
task-name: ${{ vars.TASK_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sub-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cd-staging:
name: Staging
secrets: inherit
uses: WalletConnect/ci_workflows/.github/workflows/cd.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/cd.yml@0.2.0
with:
deploy-infra: ${{ inputs.deploy-infra }}
deploy-app: ${{ inputs.deploy-app && !inputs.deploy-infra }}
Expand All @@ -57,7 +57,7 @@ jobs:
needs: [ validate-staging ]
if: ${{ inputs.deploy-prod }}
secrets: inherit
uses: WalletConnect/ci_workflows/.github/workflows/cd.yml@0.1.3
uses: WalletConnect/ci_workflows/.github/workflows/cd.yml@0.2.0
with:
deploy-infra: ${{ inputs.deploy-infra }}
deploy-app: ${{ inputs.deploy-app && !inputs.deploy-infra }}
Expand Down
34 changes: 2 additions & 32 deletions .github/workflows/sub-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,6 @@ jobs:
- name: health-check
run: curl "${{ inputs.stage-url }}"

integration-tests:
name: Integration Tests - ${{ inputs.stage }}
runs-on:
group: ${{ vars.RUN_GROUP }}
environment:
name: ${{ inputs.stage }}
url: ${{ inputs.stage-url }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Rust ${{ inputs.rust-toolchain }}
uses: WalletConnect/actions-rs/toolchain@1.0.0
with:
toolchain: ${{ inputs.rust-toolchain }}
profile: 'default'
override: true

- name: "Run Integration Tests"
uses: WalletConnect/actions-rs/cargo@1.0.0
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
RPC_URL: ${{ inputs.stage-url }}
with:
command: test
args: --test integration

integration-tests-ts:
name: TS Integration Tests - ${{ inputs.stage }}
runs-on:
Expand All @@ -69,7 +42,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
Expand All @@ -79,7 +52,4 @@ jobs:
run: yarn install

- name: Yarn Integration Tests
run: yarn integration
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
RPC_URL: ${{ inputs.stage-url }}
run: yarn integration:${{ inputs.stage }}

0 comments on commit 887199b

Please sign in to comment.