build(deps): bump io.substrait.version from 0.65.0 to 0.66.0 #22913
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: Java CI Push | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| # This is from: https://github.com/fkirc/skip-duplicate-actions#example-1-skip-entire-jobs | |
| pre_job: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
| steps: | |
| - id: skip_check | |
| uses: fkirc/[email protected] | |
| with: | |
| cancel_others: 'true' | |
| concurrent_skipping: 'same_content_newer' | |
| do_not_skip: '["workflow_dispatch", "schedule", "merge_group", "pull_request"]' | |
| build: | |
| needs: pre_job | |
| if: needs.pre_job.outputs.should_skip != 'true' | |
| runs-on: aws-athena-query-federation_ubuntu-latest_16-core | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'corretto' | |
| java-version: '11' | |
| # Target java 8 to ensure that the source is compatible with java 8 | |
| - name: Build with Maven | |
| env: | |
| AWS_DEFAULT_REGION: us-east-1 | |
| AWS_REGION: us-east-1 | |
| run: mvn -B clean package -T 1C --file pom.xml -Dmaven.compiler.release=11 -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN --no-transfer-progress | |
| # Identify if any files were modified as a result of running maven build. | |
| - name: Identify any Maven Build changes | |
| run: > | |
| ! (git status | grep "modified: " ) | |
| # -------- Codecov coverage upload -------- | |
| # Fork PRs: upload WITHOUT token | |
| - name: Upload coverage reports to Codecov (fork PRs, no token) | |
| if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
| uses: codecov/codecov-action@v5 | |
| # Pushes & same-repo PRs: upload WITH token | |
| - name: Upload coverage reports to Codecov (internal only) | |
| if: ${{ github.event_name != 'pull_request' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork) }} | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| slug: awslabs/aws-athena-query-federation | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| # -------- Codecov test results -------- | |
| # Fork PRs: no token | |
| - name: Upload test results to Codecov (fork PRs, no token) | |
| if: ${{ !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| slug: awslabs/aws-athena-query-federation | |
| # Pushes & same-repo PRs: with token | |
| - name: Upload test results to Codecov (internal only) | |
| if: ${{ !cancelled() && (github.event_name != 'pull_request' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)) }} | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| slug: awslabs/aws-athena-query-federation | |
| token: ${{ secrets.CODECOV_TOKEN }} |