Update actions/setup-java to v2 (#335)

- Update setup-java to v2 and explicitly use AdoptOpenJDK
- Enable dependabot for github-actions dependencies
This commit is contained in:
h1dden-da3m0n 2021-04-07 22:59:19 +02:00 committed by GitHub
parent 92e61d095b
commit d5ed87920c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- ci
- github-actions
commit-message:
prefix: ci

View File

@ -14,8 +14,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: Setup Gradle cache
uses: actions/cache@v2