Skip to content

Commit

Permalink
Remove Java 8 Build
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Sep 5, 2022
1 parent 18b062e commit e40d844
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: SmallRye Build

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- main
- jakarta
- micrometer
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -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}]
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<version.microprofile-config>2.0.1</version.microprofile-config>
<version.microprofile-metrics>3.0.1</version.microprofile-metrics>

<version.smallrye.config>2.10.1</version.smallrye.config>
<version.smallrye.common>1.12.0</version.smallrye.common>
<version.smallrye.config>2.12.0</version.smallrye.config>
<version.smallrye.common>1.13.1</version.smallrye.common>

<version.jakarta.servlet>4.0.4</version.jakarta.servlet>

Expand Down

0 comments on commit e40d844

Please sign in to comment.