Skip to content

Commit

Permalink
FI-2154 Enable dependabot for dependency management (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall authored Sep 28, 2023
1 parent 0a3ee00 commit dac1e92
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 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: "/" # Location of package manifests (ie, pom.xml)
schedule:
interval: "weekly"
11 changes: 9 additions & 2 deletions .github/workflows/maven_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ name: Java CI with Maven

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

permissions:
contents: write

jobs:
build:

Expand All @@ -26,6 +29,10 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Generate and Submit Maven Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v3
if: github.ref == 'refs/heads/main'
# only run this step on on main branch, not PRs
- name: Build/Test with Maven
run: mvn --batch-mode --update-snapshots verify
- name: Checkstyle
Expand Down

0 comments on commit dac1e92

Please sign in to comment.