From e40d844d6056597459fedacd7f917fc704e89ce3 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Mon, 5 Sep 2022 11:58:32 +0100 Subject: [PATCH] Remove Java 8 Build --- .github/dependabot.yml | 4 ---- .github/workflows/build.yml | 20 +++++++++++++++----- .github/workflows/release.yml | 2 +- README.adoc | 4 ++-- pom.xml | 4 ++-- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6e62fac9..a217b347 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,3 @@ updates: schedule: interval: daily open-pull-requests-limit: 10 - ignore: - - dependency-name: io.smallrye.config:smallrye-config - versions: - - 2.1.0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4f5979a..3d8f3a69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,10 @@ name: SmallRye Build on: push: - branches-ignore: - - 'dependabot/**' + branches: + - main + - jakarta + - micrometer paths-ignore: - '.gitignore' - 'CODEOWNERS' @@ -20,11 +22,10 @@ on: jobs: build: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest strategy: matrix: - java: [8, 11, 14] + java: [11, 17] name: build with jdk ${{matrix.java}} steps: @@ -39,13 +40,22 @@ jobs: - name: build with maven run: mvn -B formatter:validate verify --file pom.xml + - uses: actions/upload-artifact@v2 + name: tck-report + with: + name: tck-report + path: testsuite/tck/target/surefire-reports + quality: - if: github.event_name == 'push' && github.repository == 'smallrye/smallrye-metrics' + needs: [build] + if: github.event_name == 'push' && github.repository_owner == 'smallrye' runs-on: ubuntu-latest name: quality steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-java@v1 with: java-version: 11 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4337eb73..80d1f903 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: 11 - name: maven release ${{steps.metadata.outputs.current-version}} run: | diff --git a/README.adoc b/README.adoc index b875d376..1ad22508 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ :microprofile-metrics: https://github.com/eclipse/microprofile-metrics/ -:ci: https://github.com/smallrye/smallrye-config/actions?query=workflow%3A%22SmallRye+Build%22 -:sonar: https://sonarcloud.io/dashboard?id=smallrye_smallrye-config +:ci: https://github.com/smallrye/smallrye-metrics/actions?query=workflow%3A%22SmallRye+Build%22 +:sonar: https://sonarcloud.io/dashboard?id=smallrye_smallrye-metrics image:https://github.com/smallrye/smallrye-metrics/workflows/SmallRye%20Build/badge.svg?branch=main[link={ci}] image:https://sonarcloud.io/api/project_badges/measure?project=smallrye_smallrye-metrics&metric=alert_status["Quality Gate Status", link={sonar}] diff --git a/pom.xml b/pom.xml index 1270c270..e0ecabf1 100644 --- a/pom.xml +++ b/pom.xml @@ -36,8 +36,8 @@ 2.0.1 3.0.1 - 2.10.1 - 1.12.0 + 2.12.0 + 1.13.1 4.0.4