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
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:

jobs:
analyze:
uses: bernardladenthin/actions/.github/workflows/java-codeql.yml@a9386a26fe6706204cb4d975e6958d29bc783624 # v1.1.1
uses: bernardladenthin/actions/.github/workflows/java-codeql.yml@68dde11a60623d76c22a3f1975355a236a6ccd39 # v1.2.0
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ permissions:

jobs:
submit:
uses: bernardladenthin/actions/.github/workflows/java-maven-dependency-submission.yml@a9386a26fe6706204cb4d975e6958d29bc783624 # v1.1.1
uses: bernardladenthin/actions/.github/workflows/java-maven-dependency-submission.yml@68dde11a60623d76c22a3f1975355a236a6ccd39 # v1.2.0
permissions:
contents: write
2 changes: 1 addition & 1 deletion .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:

jobs:
scan:
uses: bernardladenthin/actions/.github/workflows/osv-scanner.yml@a9386a26fe6706204cb4d975e6958d29bc783624 # v1.1.1
uses: bernardladenthin/actions/.github/workflows/osv-scanner.yml@68dde11a60623d76c22a3f1975355a236a6ccd39 # v1.2.0
permissions:
actions: read
contents: read
Expand Down
70 changes: 45 additions & 25 deletions .github/workflows/publish.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ permissions:

jobs:
test:
uses: bernardladenthin/actions/.github/workflows/reuse.yml@a9386a26fe6706204cb4d975e6958d29bc783624 # v1.1.1
uses: bernardladenthin/actions/.github/workflows/reuse.yml@68dde11a60623d76c22a3f1975355a236a6ccd39 # v1.2.0
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ permissions:

jobs:
build:
uses: bernardladenthin/actions/.github/workflows/java-sonarqube.yml@a9386a26fe6706204cb4d975e6958d29bc783624 # v1.1.1
uses: bernardladenthin/actions/.github/workflows/java-sonarqube.yml@68dde11a60623d76c22a3f1975355a236a6ccd39 # v1.2.0
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,21 @@ The entries below hold the details; what a 1.4.0 user changes:
search scores from `scores/` (Pearson and Spearman, the card's 32 runs by default).

### Changed
- **CI: every artifact upload and download step times out**, after the minutes of the repository
variable `ARTIFACT_TIMEOUT_MINUTES`, else 20 (7 steps in `publish.yml`). In a Publish run of
java-llama.cpp an `upload-artifact` step hung for hours after a build of a minute and a half,
with GitHub's 360-minute default the only limit; the longest transfer measured over two complete
runs of that pipeline took 18 s. The workflow's top-level `env` reads the variable with the
default, each step says `timeout-minutes: ${{ fromJSON(env.ARTIFACT_TIMEOUT_MINUTES) }}`, and
`common/check-artifact-timeouts` of bernardladenthin/actions v1.2.0 holds that layout in
`repository-checks`.
- **CI: a pull request Dependabot opens or rebases does not run the Publish pipeline.** Its
`startgate` job, which every other job needs, is skipped for it (`github.actor`), so every job
of the run is skipped. Such a run got none of the repository's secrets and Dependabot rebases
its pull requests on every change of `main`. The merge to `main` runs the pipeline; a push of a
person to the branch, or a dispatch on it, runs it too.
- **bernardladenthin/actions v1.2.0** (from v1.1.1) for every action and reusable workflow it
pins.

- **Dependencies, build plugins and Actions, in step with the sibling repositories:** Jackson 2.23.0,
maven-enforcer-plugin 3.7.0 in `examples/build-your-own-jar` (the reactor had it already),
Expand Down
8 changes: 8 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -774,12 +774,20 @@ in **`.github/actions-config.json`**:
names it with a reason;
- **run scripts**: `bash -n` over every bash `run:` script of the workflows and local actions, so a
broken script (a lost line continuation, say) fails here instead of in the job running it;
- **artifact timeouts**: every `upload-artifact` / `download-artifact` step times out after the
repository variable `ARTIFACT_TIMEOUT_MINUTES`, else 20 minutes (the workflow's top-level `env`
reads it; [`../workspace/policies/ci-artifact-timeouts.md`](../workspace/policies/ci-artifact-timeouts.md)),
instead of GitHub's 360;
- **Maven versions** (warnings only): a dependency or plugin (incl. the Spotless formatter version)
used here in another version than in a sibling of the `java-maven` family (each sibling's POMs come
from its own configuration), and Kotlin Gradle plugins behind the POMs' Kotlin;
- **publication**: the publication jobs are wired as the actions expect, and a dry run of
`.github/release-assets.json` against the real POMs collects exactly what it promises.

**Dependabot pull requests do not run `publish.yml`**: its `startgate` job, which every other
job needs, is skipped for a pull request Dependabot opens or rebases (`github.actor`). The merge
to `main` runs the pipeline; a push of a person to the branch, or a dispatch on it, runs it too.

The JDK every workflow uses is `.java-version` (setup-java's `java-version-file`), a template of
the `java` set. Why a repository instead of copies:
[`../workspace/crossrepostatus.md`](../workspace/crossrepostatus.md).
Expand Down
Loading