From 758afaf76a144bf9c0b4e66af0d10aecc3d2fb77 Mon Sep 17 00:00:00 2001 From: Leonardo Silveira Date: Sat, 4 May 2024 22:00:25 -0300 Subject: [PATCH] add badge and see if we can cache the dependencies directory so we gain 10s in compile time --- .github/workflows/bld.yml | 4 ++++ README.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index 3e1338a..aa7a99d 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -13,4 +13,8 @@ jobs: with: java-version: '17' distribution: 'temurin' + - uses: actions/cache@v4 + with: + path: lib + key: bld-${{ hashFiles('src/bld/java/**') }} - run: ./bld clean download compile test diff --git a/README.md b/README.md index 1518fe8..402aad0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![Java CI with Gradle](https://github.com/sombriks/sample-htmx-spring/actions/workflows/gradle.yml/badge.svg)](https://github.com/sombriks/sample-htmx-spring/actions/workflows/gradle.yml) +[![Java CI with bld](https://github.com/sombriks/sample-htmx-spring/actions/workflows/bld.yml/badge.svg)](https://github.com/sombriks/sample-htmx-spring/actions/workflows/bld.yml) + Simple [htmx][htmx] project using spring boot with thymeleaf as backend. Generated by [spring initializr][initializr].