FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
client_java/.github/workflows/api-diff.yml at main · prometheus/client_java · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
prometheus
/
client_java
Public
Notifications
You must be signed in to change notification settings
Fork
835
Star
2.3k
Code
Issues
24
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
client_java
/
.github
/
workflows
/
api-diff.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (48 loc) · 1.65 KB
Breadcrumbs
client_java
/
.github
/
workflows
/
api-diff.yml
Copy path
File metadata and controls
52 lines (48 loc) · 1.65 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name
:
API Diff
on
:
pull_request
:
types
:
-
opened
-
synchronize
-
reopened
workflow_dispatch
:
inputs
:
baseline_version
:
description
:
>-
Override the baseline version to compare against.
Defaults to <api.diff.baseline.version> in pom.xml.
required
:
false
default
:
"
"
permissions
:
contents
:
read
jobs
:
api-diff
:
if
:
${{ !startsWith(github.head_ref, 'release-please--branches--') }}
runs-on
:
ubuntu-24.04
env
:
#
Empty unless overridden via workflow_dispatch; the api-diff task then
#
falls back to <api.diff.baseline.version> in pom.xml.
API_DIFF_BASELINE_VERSION
:
${{ inputs.baseline_version }}
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7
with
:
persist-credentials
:
false
-
uses
:
jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c
#
v4.3.0
with
:
version
:
v2026.8.11
sha256
:
3d825b8341925abb398fba6fd8dcd7d6e92ade6820d892da62992e0765638e66
-
name
:
Cache local Maven repository
uses
:
actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
#
v6.1.0
with
:
path
:
~/.m2/repository
key
:
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-
name
:
Run japicmp API diff
run
:
mise run api-diff
-
name
:
Check docs/apidiffs is up to date
run
:
|
if ! git diff --exit-code -- docs/apidiffs; then
echo "::error::Published API surface changed but docs/apidiffs is stale."
echo "Run 'mise run api-diff' locally and commit the updated docs/apidiffs."
exit 1
fi
Back
|
FazBrowse Home
|
New Git URL