Add dependent resource and disable ssa in MockOperatorTest. #117
Workflow file for this run
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: Verify Pull Request | |
env: | |
MAVEN_ARGS: -V -ntp -e | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 17 ] | |
distribution: [ temurin ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v3 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Check code format | |
run: | | |
./mvnw ${MAVEN_ARGS} formatter:validate -Dconfigfile=$PWD/contributing/eclipse-google-style.xml --file pom.xml | |
./mvnw ${MAVEN_ARGS} impsort:check --file pom.xml | |
- name: Run unit tests | |
run: ./mvnw ${MAVEN_ARGS} -B test --file pom.xml |