Skip to content

Commit 41fa25c

Browse files
committed
Add dependabot and update git actions
1 parent 24f7c33 commit 41fa25c

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
version: 2
6+
updates:
7+
- package-ecosystem: "maven" # See documentation for possible values
8+
directory: "/" # Location of package manifests
9+
schedule:
10+
interval: "weekly"
11+
ignore:
12+
- dependency-name: "*"
13+
update-types: ["version-update:semver-major","version-update:semver-minor"]
14+
15+
- package-ecosystem: "github-actions" # Also update Github actions
16+
directory: "/"
17+
schedule:
18+
# Check for updates to GitHub Actions every week
19+
interval: "weekly"

.github/workflows/maven-build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ on:
2424
push:
2525
branches:
2626
- master
27+
<<<<<<< HEAD
2728
- 1.x
29+
=======
30+
- '1.x'
31+
>>>>>>> 56f0140 (Add dependabot and update git actions)
2832

2933
workflow_dispatch:
3034

@@ -35,24 +39,24 @@ jobs:
3539
env:
3640
MAVEN_OPTS: "-Xmx4096m -Xms2048m -XX:MaxMetaspaceSize=4096m -Xss8m"
3741
steps:
38-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v6
3943

4044
- name: Set up JDK 11 for x64
41-
uses: actions/setup-java@v3
45+
uses: actions/setup-java@v5
4246
with:
4347
java-version: '11'
4448
distribution: 'temurin'
4549
architecture: x64
4650

47-
- uses: s4u/maven-settings-action@v2.8.0
51+
- uses: s4u/maven-settings-action@v4.0.0
4852
with:
4953
sonatypeSnapshots: true
5054

5155
- name: Build the Maven verify phase
5256
run: mvn -B -V clean verify -Prun-its -Pci
5357

5458

55-
- uses: s4u/maven-settings-action@v2.8.0
59+
- uses: s4u/maven-settings-action@v4.0.0
5660
if: ${{ github.event_name == 'push' }}
5761
with:
5862
servers: |

0 commit comments

Comments
 (0)