Skip to content

deps: bump actions/setup-java from 3 to 4 #1185

deps: bump actions/setup-java from 3 to 4

deps: bump actions/setup-java from 3 to 4 #1185

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: [ main ]
paths:
- '**/*.java'
- '**/pom.xml'
- 'revapi.json'
- '.github/workflows/ci.yml'
- '.github/workflows/test.yml'
- '.github/workflows/lint.yml'
push:
branches: [ main ]
paths:
- '**/*.java'
- '**/pom.xml'
- 'revapi.json'
- '.github/workflows/ci.yml'
- '.github/workflows/test.yml'
- '.github/workflows/lint.yml'
workflow_dispatch: { }
merge_group: { }
workflow_call: { }
concurrency:
# add a sub-key using the run ID whenever this is called via workflow dispatch (i.e. manually by a user); in that
# case, we do want to have as many runs as a user wants. for all other cases, this will only run once.
group: ${{ github.workflow }}-${{ (github.event_name == 'workflow_dispatch' && github.run_id) || '' }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Linting & Analysis
uses: ./.github/workflows/lint.yml
secrets: inherit
with:
check-dependencies: ${{ github.event_name == 'pull_request' }}
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit
deploy:
# Only deploy SNAPSHOT if merging to main
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'workflow_call' }}
name: Deploy SNAPSHOT
needs: [lint, test]
uses: ./.github/workflows/deploy.yml
secrets: inherit