Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# compatible cache, keeping the build cache warm as sources evolve. The cross-OS dist legs get
# the same benefit via setup-gradle; this closes the gap for the Docker-based jobs.
- name: cache gradle home
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
.gradle-home/caches
Expand All @@ -75,9 +75,9 @@ jobs:
# the image (tagged as compose.yml's `image:` ref) into the local daemon so the
# `docker compose run` steps below reuse it (pull_policy: missing). This job owns cache-to to
# keep the shared cache warm across runs; the other docker jobs read it cache-from-only.
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: build dev image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
load: true
Expand Down Expand Up @@ -122,9 +122,9 @@ jobs:
# cache so an unchanged Dockerfile is a near-instant hit. Read-only (no cache-to) — the build
# job owns writing the shared cache. `load: true` tags it as compose.yml's `image:` ref so the
# `docker compose run` step below reuses it.
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: build dev image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
load: true
Expand All @@ -143,7 +143,7 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: crate-ci/typos@37bb98842b0d8c4ffebdb75301a13db0267cef89 # v1.47.2
- uses: crate-ci/typos@bee27e3a4fd1ea2111cf90ab89cd076c870fce14 # v1.48.0
# Versions pinned to match the dev image (root Dockerfile) so CI and the
# container can never check formatting with different tool versions.
- name: install biome + taplo + yamlfmt + actionlint
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
# Restore-only: reuse the Gradle home the build job populates (warm dependencies for the
# dry-run) without saving a second, duplicate cache from this advisory job.
- name: restore gradle home
uses: actions/cache/restore@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
.gradle-home/caches
Expand All @@ -202,9 +202,9 @@ jobs:
# cache so an unchanged Dockerfile is a near-instant hit. Read-only (no cache-to) — the build
# job owns writing the shared cache. `load: true` tags it as compose.yml's `image:` ref so the
# `docker compose run` step below reuses it.
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: build dev image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
load: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dev-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -51,14 +51,14 @@ jobs:
# identical to compose.yml's `image:` pin.
- name: docker meta (tags + labels)
id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/p4suta/my-pdf-tools-java-dev
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=sha,format=short
- name: build + push
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# it, and an ephemeral runner starts cold otherwise. The cross-OS legs already cache via
# setup-gradle in setup-jdk-gradle; this closes the gap for this Docker-based leg.
- name: cache gradle home
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
.gradle-home/caches
Expand All @@ -69,9 +69,9 @@ jobs:
# toolchain (notably jbig2enc-from-source) every run. Read-only — ci.yml's build job owns
# cache-to. `load: true` tags it as compose.yml's `image:` ref so the `docker compose run`
# steps below reuse it (pull_policy: missing).
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: build dev image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
load: true
Expand Down
Loading