Skip to content

Bump actions/checkout from 2 to 4 #49

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #49

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
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
# 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-
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17.0.4+8'
distribution: 'adopt'
- name: Build with mvn
run: ./mvnw -B -ntp clean install