Updating cwltool dependencies (#291) #1213
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: 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@v3 | |
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@v2 | |
with: | |
languages: java | |
- 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@v2 |