feat(bundle-jvm): Automatically collect JVM source files with respecting excludes and gitignore #6041
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 1.x | |
| - release/** | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| RUSTFLAGS: -Dwarnings | |
| jobs: | |
| lint: | |
| name: Lint | |
| uses: ./.github/workflows/lint.yml | |
| test: | |
| name: Test | |
| uses: ./.github/workflows/test.yml | |
| test_node: | |
| name: Test Node | |
| uses: ./.github/workflows/test_node.yml | |
| with: | |
| triggered-by-release: ${{ github.event_name == 'push' && startsWith(github.ref_name, 'release/') }} | |
| test_swift: | |
| name: Test Swift | |
| uses: ./.github/workflows/swift-test.yml | |
| danger: | |
| name: Run Danger Checks | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| statuses: write | |
| if: ${{ github.event_name == 'pull_request' }} | |
| steps: | |
| - name: Run Danger | |
| uses: getsentry/github-workflows/danger@26f565c05d0dd49f703d238706b775883037d76b # 3.3.0 | |
| required: | |
| name: Check required jobs | |
| runs-on: ubuntu-24.04 | |
| needs: [lint, test, test_node, test_swift, danger] | |
| if: always() | |
| steps: | |
| - name: Check for failure | |
| if: ${{ | |
| needs.lint.result != 'success' || | |
| needs.test.result != 'success' || | |
| needs.test_node.result != 'success' || | |
| needs.test_swift.result != 'success' || | |
| (needs.danger.result != 'success' && needs.danger.result != 'skipped') | |
| }} | |
| run: | | |
| echo "One or more jobs failed" | |
| exit 1 |