chore(main): release 1.9.0 #1079
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Micrometer Compatibility | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| compat-test: | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: upstream | |
| repository: micrometer-metrics/micrometer | |
| # renovate: datasource=github-releases depName=micrometer-metrics/micrometer packageName=micrometer-metrics/micrometer | |
| ref: v1.17.1 | |
| - name: upstream-main | |
| # Track upstream main until the typed-descriptor change is included | |
| # in a Micrometer release. | |
| # Follow-up: https://github.com/prometheus/client_java/issues/2182 | |
| repository: micrometer-metrics/micrometer | |
| # renovate: datasource=git-refs depName=micrometer-metrics/micrometer packageName=https://github.com/micrometer-metrics/micrometer currentValue=main | |
| ref: 8a69589a69e969f4109eae87b5737afe18f269e0 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 | |
| with: | |
| version: v2026.9.7 | |
| sha256: d479d7c0df37652ddfd6d1887ef92a67a17effc7ec4ac612f46845099f814c6f | |
| - 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 Micrometer compatibility tests | |
| env: | |
| MICROMETER_REPOSITORY: ${{ matrix.repository }} | |
| MICROMETER_REF: ${{ matrix.ref }} | |
| run: mise run micrometer:compat-test | |
| micrometer-compatibility: | |
| name: micrometer-compatibility | |
| runs-on: ubuntu-24.04 | |
| needs: compat-test | |
| if: always() | |
| steps: | |
| - name: Aggregate matrix results | |
| run: | | |
| if [[ "${{ needs.compat-test.result }}" != "success" ]]; then | |
| echo "compat-test matrix failed: ${{ needs.compat-test.result }}" | |
| exit 1 | |
| fi |