Skip to content

Commit

Permalink
Add dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
wode490390 committed Jan 21, 2024
1 parent 3f7258d commit 7da6b26
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "monthly"
29 changes: 29 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Java CI

on:
push:
workflow_dispatch:

jobs:
build:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java:
[
17,
21,
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: oracle
cache: maven
- name: Build with Maven
run: mvn -B clean package

0 comments on commit 7da6b26

Please sign in to comment.