diff --git a/.github/composite/build-image/action.yml b/.github/composite/build-image/action.yml index b39b13319..7f9dcac80 100644 --- a/.github/composite/build-image/action.yml +++ b/.github/composite/build-image/action.yml @@ -42,7 +42,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Expose GitHub Runtime uses: crazy-max/ghaction-github-runtime@v3 diff --git a/.github/composite/redeploy/action.yml b/.github/composite/redeploy/action.yml index 63e392579..10aed6873 100644 --- a/.github/composite/redeploy/action.yml +++ b/.github/composite/redeploy/action.yml @@ -38,7 +38,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Expose GitHub Runtime uses: crazy-max/ghaction-github-runtime@v3 diff --git a/.github/composite/setup-ci/action.yml b/.github/composite/setup-ci/action.yml index c6e52f677..049e22fb0 100644 --- a/.github/composite/setup-ci/action.yml +++ b/.github/composite/setup-ci/action.yml @@ -29,7 +29,7 @@ runs: bun-version: latest - name: Cache Bun dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.bun/install/cache key: ${{ runner.os }}-bun-${{ hashFiles('.github/scripts/bun.lock') }} diff --git a/.github/composite/test/backend-pre-test/action.yml b/.github/composite/test/backend-pre-test/action.yml index 45c9c39ee..89b09431d 100644 --- a/.github/composite/test/backend-pre-test/action.yml +++ b/.github/composite/test/backend-pre-test/action.yml @@ -11,7 +11,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Run script shell: bash diff --git a/.github/composite/test/backend-test/action.yml b/.github/composite/test/backend-test/action.yml index f6a9b03a7..8bce7d309 100644 --- a/.github/composite/test/backend-test/action.yml +++ b/.github/composite/test/backend-test/action.yml @@ -35,7 +35,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Expose GitHub Runtime uses: crazy-max/ghaction-github-runtime@v3 diff --git a/.github/composite/test/frontend-pre-test/action.yml b/.github/composite/test/frontend-pre-test/action.yml index 03f2adb57..55d59b2e9 100644 --- a/.github/composite/test/frontend-pre-test/action.yml +++ b/.github/composite/test/frontend-pre-test/action.yml @@ -23,7 +23,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Set up pnpm uses: pnpm/action-setup@master diff --git a/.github/composite/test/frontend-test/action.yml b/.github/composite/test/frontend-test/action.yml index 72ad5875f..72bda7370 100644 --- a/.github/composite/test/frontend-test/action.yml +++ b/.github/composite/test/frontend-test/action.yml @@ -31,7 +31,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Run script shell: bash diff --git a/.github/composite/validate-db/action.yml b/.github/composite/validate-db/action.yml index 1998a0d68..8309cb509 100644 --- a/.github/composite/validate-db/action.yml +++ b/.github/composite/validate-db/action.yml @@ -27,7 +27,14 @@ runs: with: distribution: "temurin" java-version: "25" - cache: "maven" + + - name: Cache Maven packages + uses: actions/cache@v5 + with: + path: | + ~/.m2 + ~/repository + key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} - name: Run script shell: bash diff --git a/.github/scripts/utils/run-local-db.ts b/.github/scripts/utils/run-local-db.ts index 09d488267..437293ddc 100644 --- a/.github/scripts/utils/run-local-db.ts +++ b/.github/scripts/utils/run-local-db.ts @@ -14,7 +14,7 @@ async function start() { -e POSTGRES_PASSWORD=postgres \ -e POSTGRES_DB=codebloom \ -p 5440:5432 \ - postgres:16`; + postgres:16-alpine`; console.log("Waiting for postgres to become ready.");