Skip to content

chore(deps): update actions/cache action to v4 #152

chore(deps): update actions/cache action to v4

chore(deps): update actions/cache action to v4 #152

Workflow file for this run

name: Test successful build
on: pull_request
jobs:
commitlint:
runs-on: ubuntu-22.04
steps:
- name: Checkout sources 🔰
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
name: Check commits 🔥
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources 🔰
uses: actions/checkout@v3
- name: Set up Java 📐
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Cache maven repository 💾
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build artifacts 🏗️
run: mvn clean package -B