Skip to content
Open
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/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions: {}

jobs:
acceptance-tests:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Check out
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:
jobs:
api-diff:
if: ${{ !startsWith(github.head_ref, 'release-please--branches--') }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
env:
# Empty unless overridden via workflow_dispatch; the api-diff task then
# falls back to <api.diff.baseline.version> in pom.xml.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions: {}

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-api-diff-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
bump:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: write # push to the snapshot PR branch
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions: {}
jobs:
analyze:
name: Analyze Java
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: read # required for github/codeql-action/init to get workflow details
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detect-api-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: {}
jobs:
detect-api-changes:
if: github.repository == 'prometheus/client_java'
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
issues: write
pull-requests: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: {}

jobs:
generate:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read # checkout + read-only `git fetch origin main` for the verify step
steps:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
retention-days: 5

publish:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: generate
permissions:
contents: write # push regenerated sources back to the renovate branch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Build job
build:
if: github.repository == 'prometheus/client_java'
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-version-matrix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions: {}
jobs:
integration-tests:
name: Java ${{ matrix.java-version }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jmx-exporter-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions: {}

jobs:
jmx-exporter-compatibility:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: {}

jobs:
lint:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/micrometer-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: {}
jobs:
compat-test:
name: ${{ matrix.name }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:

micrometer-compatibility:
name: micrometer-compatibility
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: compat-test
if: always()
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multi-version-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions: {}
jobs:
compatibility-test:
name: Test on Java ${{ matrix.java }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions: {}

jobs:
native-tests:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Check out
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defaults:

jobs:
benchmark:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read # checkout only
steps:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
retention-days: 5

publish:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: benchmark
permissions:
contents: write # push generated results to the benchmarks branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-benchmark-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion != 'cancelled' &&
github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defaults:
jobs:
benchmark:
if: github.event.label.name == 'benchmark'
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

summarize:
if: github.event.label.name == 'benchmark'
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: benchmark
permissions:
contents: read # checkout only
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regenerate-api-diff-otel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: {}

jobs:
generate:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: read # checkout + read-only `git fetch origin main` for the verify step
steps:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
retention-days: 5

publish:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
needs: generate
permissions:
contents: write # push regenerated apidiffs back to the renovate branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}
jobs:
release-please:
if: ${{ github.repository == 'prometheus/client_java' }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
permissions:
contents: write # release-please creates release commits, tags, and the GitHub release
pull-requests: write # release-please opens/updates the release PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
deploy:
if: ${{ github.repository == 'prometheus/client_java' }}
environment: release
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
env:
# Artifact releases pair a focused tool allowlist with cache: false.
MISE_ENABLE_TOOLS: java
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: {}
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
# Prevents fork runs from failing due to missing write permissions or secrets.
if: ${{ github.repository == 'prometheus/client_java' }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
Expand Down
Loading