Skip to content

Reset version

Reset version #1244

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
java: [ '17.0.4+8' ]
steps:
- name: install git secrets
run: |
wget --no-verbose -O git-secrets-1.3.0.tar.gz https://github.com/awslabs/git-secrets/archive/1.3.0.tar.gz
tar -zxf git-secrets-1.3.0.tar.gz
cd git-secrets-1.3.0
sudo make install
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
# Step that does that actual cache save and restore
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- if: "!contains(github.ref, 'dependabot')"
name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
queries: security-and-quality
- name: Build with mvnw
run: ./mvnw clean install
- name: Check license file
uses: dockstore/workflow-actions/.github/actions/check-license@main
- if: "!contains(github.ref, 'dependabot')"
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3