[Snyk] Security upgrade redhat/ubi9 from 9.4-1214.1725849297 to 9.4-1214.1726694543 #29
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: CI checks | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
maven-build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Linux JDK | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
curl --silent -o ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz \ | |
https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz | |
- name: Set up Linux JDK | |
uses: actions/setup-java@v2 | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
with: | |
distribution: jdkfile | |
jdkFile: ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz | |
java-version: 21 | |
- name: Download Windows JDK | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: | | |
curl --silent -o ${{ runner.temp }}/jdk-21_windows-x64_bin.zip https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.zip | |
- name: Set up Windows JDK | |
uses: actions/setup-java@v2 | |
if: ${{ matrix.os == 'windows-latest' }} | |
with: | |
distribution: jdkfile | |
jdkFile: ${{ runner.temp }}/jdk-21_windows-x64_bin.zip | |
java-version: 21 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-21-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-jdk-21-maven- | |
- name: Build it with Maven | |
run: mvn -B install | |
xcop-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: g4s8/xcop-action@master |