Skip to content

build(deps): bump actions/cache from 4.3.0 to 5.0.0 #787

build(deps): bump actions/cache from 4.3.0 to 5.0.0

build(deps): bump actions/cache from 4.3.0 to 5.0.0 #787

name: "Build and Test"
on: [push]
jobs:
build-n-test:
name: "Build and test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: "Cache Maven repository"
uses: actions/[email protected]
with:
path: $HOME/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: "JDK set-up"
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'adopt'
- name: "Build and run tests"
run: |
mvn clean install