chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /tests/client_parity_tests #2216
This file contains hidden or 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: Verify | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| code: ${{ steps.filter.outputs.code }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: dorny/paths-filter@v4 | |
| id: filter | |
| with: | |
| filters: | | |
| code: | |
| - 'src/**' | |
| - 'tests/**' | |
| - 'proto/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| - 'rust-toolchain*' | |
| - '.github/workflows/verify.yml' | |
| - '.github/workflows/verify-impl.yml' | |
| test: | |
| needs: changes | |
| if: needs.changes.outputs.code == 'true' | |
| uses: ./.github/workflows/verify-impl.yml | |
| secrets: inherit | |
| verify-required: | |
| needs: [changes, test] | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Evaluate verify result | |
| env: | |
| CHANGES_RESULT: ${{ needs.changes.result }} | |
| CODE_CHANGED: ${{ needs.changes.outputs.code }} | |
| TEST_RESULT: ${{ needs.test.result }} | |
| run: | | |
| if [[ "$CHANGES_RESULT" != "success" ]]; then | |
| echo "verify-required failing: changes job did not succeed (result: $CHANGES_RESULT)" | |
| exit 1 | |
| fi | |
| if [[ "$TEST_RESULT" == "success" ]]; then | |
| echo "verify-required passing: test succeeded" | |
| exit 0 | |
| fi | |
| if [[ "$TEST_RESULT" == "skipped" && "$CODE_CHANGED" != "true" ]]; then | |
| echo "verify-required passing: test intentionally skipped (no code changes)" | |
| exit 0 | |
| fi | |
| echo "verify-required failing (test job: $TEST_RESULT, code changed: $CODE_CHANGED)" | |
| exit 1 |