Skip to content

Commit 2c15e42

Browse files
authored
Merge pull request #63 from ligangty/1.x
Add dependabot and update git actions
2 parents 24f7c33 + 37855c3 commit 2c15e42

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@ jobs:
3535
env:
3636
MAVEN_OPTS: "-Xmx4096m -Xms2048m -XX:MaxMetaspaceSize=4096m -Xss8m"
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v6
3939

4040
- name: Set up JDK 11 for x64
41-
uses: actions/setup-java@v3
41+
uses: actions/setup-java@v5
4242
with:
4343
java-version: '11'
4444
distribution: 'temurin'
4545
architecture: x64
4646

47-
- uses: s4u/maven-settings-action@v2.8.0
47+
- uses: s4u/maven-settings-action@v4.0.0
4848
with:
4949
sonatypeSnapshots: true
5050

5151
- name: Build the Maven verify phase
5252
run: mvn -B -V clean verify -Prun-its -Pci
5353

5454

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

0 commit comments

Comments
 (0)