Release / chore: refactor tests (#244) * chore: refactor data structures * chore: test watchSubscriptions in integration tests * chore: allow running integration tests in parallel * chore: minimal deployment test * fix: flaky registry tests * chore: work on new test * chore: random nonce * chore: refactor magic strings * chore: properly parse did.json response * chore: further eliminate magic strings * chore: refactor magic strings * chore: refactor * chore: refactor ... #6
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
name: ⚡ Release | |
run-name: 'Release / ${{ github.event.head_commit.message }}' | |
on: | |
push: | |
branches: | |
- main | |
- master | |
paths-ignore: | |
- '.github/**' | |
- 'docs/**' | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- 'justfile' | |
- 'rustfmt.toml' | |
- '.editorconfig' | |
- '.pre-commit-config.yaml' | |
- '.terraformignore' | |
- '.env.example' | |
concurrency: deploy | |
permissions: | |
contents: write | |
id-token: write | |
packages: write | |
checks: write | |
jobs: | |
paths_filter: | |
name: Paths Filter | |
runs-on: | |
group: ${{ vars.RUN_GROUP }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: WalletConnect/actions/github/paths-filter/@2.2.1 | |
id: filter | |
outputs: | |
infra: ${{ steps.filter.outputs.infra }} | |
app: ${{ steps.filter.outputs.app }} | |
release: | |
name: Release | |
needs: [ paths_filter ] | |
uses: WalletConnect/ci_workflows/.github/workflows/release.yml@0.1.2 | |
secrets: inherit | |
with: | |
infra-changed: ${{ needs.paths_filter.outputs.infra == 'true' }} | |
app-changed: ${{ needs.paths_filter.outputs.app == 'true' }} | |
cd: | |
name: CD | |
needs: [ paths_filter, release ] | |
secrets: inherit | |
uses: ./.github/workflows/sub-cd.yml | |
with: | |
deploy-infra: ${{ needs.paths_filter.outputs.infra == 'true' }} | |
deploy-app: ${{ needs.paths_filter.outputs.app == 'true' }} | |
deploy-prod: true | |
version: ${{ needs.release.outputs.version }} |