use cache

This commit is contained in:
Elio Bischof
2025-06-17 01:06:06 +02:00
parent b0525e0062
commit 7698d01263

View File

@@ -12,9 +12,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Normalize file mtimes - run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
run: |
find . -type f -exec touch -d "2000-01-01T00:00:00Z" {} +
- name: Set up persistent Buildx builder - name: Set up persistent Buildx builder
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@@ -22,6 +20,7 @@ jobs:
install: true install: true
driver: docker-container driver: docker-container
use: true use: true
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
- name: Build - name: Build
uses: docker/bake-action@v6 uses: docker/bake-action@v6
with: with:
@@ -31,5 +30,6 @@ jobs:
*.cache-from=type=gha *.cache-from=type=gha
*.cache-to=type=gha,mode=max *.cache-to=type=gha,mode=max
*.output=type=docker *.output=type=docker
- run: ls -lah turbo.json .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml
- name: Run - name: Run
run: make login-lint run: make login-lint