diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..05c1cd19 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore(ci): " + groups: + gh-actions-packages: + patterns: + - "*" + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fca5d81..df480ecb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,7 +62,7 @@ jobs: run: ./mvnw clean package -DskipTests - name: Run using JDK 7 - run: docker run -i --rm -v $(pwd):/app -w /app openjdk:7-jdk java -jar ./target/jmxfetch-0.51.1-SNAPSHOT-jar-with-dependencies.jar --help + run: docker run -i --rm -v $(pwd):/app -w /app azul/zulu-openjdk:7-latest java -jar ./target/jmxfetch-0.51.1-SNAPSHOT-jar-with-dependencies.jar --help test: name: Test (OpenJDK ${{ matrix.java-version }}) @@ -97,7 +97,7 @@ jobs: ${{ runner.os }}-m2- - name: Set up Docker - uses: docker/setup-docker-action@b60f85385d03ac8acfca6d9996982511d8620a19 # v4.3.0 + uses: docker/setup-docker-action@e43656e248c0bd0647d3f5c195d116aacf6fcaf4 # v4.7.0 - name: Run tests run: ./mvnw test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=info -Djdk.attach.allowAttachSelf=true