Skip to content

Commit f7bf395

Browse files
committed
chore(ci): document gha workflows
Signed-off-by: Sam Gammon <[email protected]>
1 parent 768c3fa commit f7bf395

File tree

5 files changed

+71
-0
lines changed

5 files changed

+71
-0
lines changed

Diff for: .github/workflows/ci.build.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Guava GitHub CI
2+
# ---------------------------------------------------------------------------------------------------------------------
3+
# This is the main CI build on GitHub for the Google Guava project. This workflow is not invoked directly; instead, the
4+
# `on.pr.yml` and `on.push.yml` workflows kick in on PR and push events, respectively, and call this workflow as a
5+
# Reusable Workflow.
6+
#
7+
# This workflow can be tested independently of the entrypoint flow through the `workflow_dispatch` hook, which adds a
8+
# button within the UI of the GitHub repository. You can trigger the workflow from here:
9+
#
10+
# https://github.com/google/guava/actions/workflows/ci.build.yml
11+
#
12+
# ## Inputs
13+
#
14+
# See the set of input parameters underneath the `workflow_call` and `workflow_dispatch` hooks for ways this workflow
15+
# can be controlled when called.
16+
#
17+
# ## SLSA Provenance
18+
#
19+
# After building Guava in both JRE and Android variants, this workflow will (if enabled) generate provenance material
20+
# and upload it to an associated release. Learn more about SLSA here: https://slsa.dev.
21+
122
name: Build
223

324
on:

Diff for: .github/workflows/ci.test.yml

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Guava GitHub CI
2+
# ---------------------------------------------------------------------------------------------------------------------
3+
# This is the main CI testsuite on GitHub for the Google Guava project. This workflow is not invoked directly; instead,
4+
# the `on.pr.yml` and `on.push.yml` workflows kick in on PR and push events, respectively, and call this workflow as a
5+
# Reusable Workflow.
6+
#
7+
# This workflow can be tested independently of the entrypoint flow through the `workflow_dispatch` hook, which adds a
8+
# button within the UI of the GitHub repository. You can trigger the workflow from here:
9+
#
10+
# https://github.com/google/guava/actions/workflows/ci.test.yml
11+
#
12+
# ## Inputs
13+
#
14+
# See the set of input parameters underneath the `workflow_call` and `workflow_dispatch` hooks for ways this workflow
15+
# can be controlled when called.
16+
#
17+
# ## Multi-OS and Multi-JVM Testing
18+
#
19+
# Guava is tested against each LTS release at JDK 8 through JDK 21, on Linux and on Windows (starting at JDK 17), and
20+
# in Android and JRE flavors.
21+
122
name: Tests
223

324
on:

Diff for: .github/workflows/dependency-review.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# Guava GitHub CI
2+
# ---------------------------------------------------------------------------------------------------------------------
3+
# This workflow is called from `on.push.yml` and `on.pr.yml` to operate on Guava's dependency graph:
4+
#
5+
# - The dependency graph is calculated from pom.xml files
6+
# - The graph is then published to GitHub, and associated with the Guava repository
7+
# - When operating on a PR, Dependency Review can be invoked to check dependency changes
8+
#
9+
# ## Inputs
10+
#
11+
# See the set of input parameters underneath the `workflow_call` and `workflow_dispatch` hooks for ways this workflow
12+
# can be controlled when called.
13+
114
name: 'Dependency Graph'
215
on:
316
workflow_call:

Diff for: .github/workflows/on.pr.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Guava GitHub CI
2+
# ---------------------------------------------------------------------------------------------------------------------
3+
# This is an entrypoint workflow which operates on pull requests; this workflow doesn't do much on its own. Its job is
4+
# to dispatch `on.build.yml` and check workflows, which can be found in this same directory.
5+
#
6+
# PR workflows are slightly different from push workflows (for example, they do not publish snapshots). See the
7+
# `on.push.yml` workflow. PR and push flows are designed to be invoked separately.
8+
19
name: PR
210

311
on:

Diff for: .github/workflows/on.push.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Guava GitHub CI
2+
# ---------------------------------------------------------------------------------------------------------------------
3+
# This is an entrypoint workflow which operates on pushed revisions to Guava; this workflow doesn't do much on its own.
4+
# Its job is to dispatch `on.build.yml` and check workflows, which can be found in this same directory.
5+
#
6+
# PR workflows are slightly different from push workflows (for example, the push workflow publishes snapshots). See the
7+
# `on.pr.yml` workflow. PR and push flows are designed to be invoked separately.
8+
19
name: Push
210

311
on:

0 commit comments

Comments
 (0)