[#566] default to stable channel for oc downloads with nightly OCP ve… #434
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: XTF CI - Pull Request check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Build and CheckStyle | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 8, 11 ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
java-package: jdk | |
architecture: x64 | |
cache: 'maven' | |
- name: Check well-formatted code | |
# impsort-maven-plugin requires JDK 11 and profile is active only on JDK11 | |
if: ${{ matrix.java == 11 }} | |
run: mvn -B formatter:validate impsort:check | |
- name: Maven Package | |
run: mvn install -B -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
- name: Maven Verify | |
run: mvn -B clean verify |