Skip to content

Commit 2b4c93e

Browse files
authored
Merge pull request #59 from ligangty/master
Add dependabot and update git actions
2 parents 031a1d3 + 538f1b6 commit 2b4c93e

2 files changed

Lines changed: 25 additions & 5 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: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ on:
2525
branches:
2626
- main
2727
- master
28+
- '1.x'
2829

2930
workflow_dispatch:
3031

@@ -35,24 +36,24 @@ jobs:
3536
env:
3637
MAVEN_OPTS: "-Xmx4096m -Xms2048m -XX:MaxMetaspaceSize=4096m -Xss8m"
3738
steps:
38-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v6
3940

4041
- name: Set up JDK 11 for x64
41-
uses: actions/setup-java@v3
42+
uses: actions/setup-java@v5
4243
with:
43-
java-version: '11'
44+
java-version: '17'
4445
distribution: 'temurin'
4546
architecture: x64
4647

47-
- uses: s4u/maven-settings-action@v2.8.0
48+
- uses: s4u/maven-settings-action@v4.0.0
4849
with:
4950
sonatypeSnapshots: true
5051

5152
- name: Build the Maven verify phase
5253
run: mvn -B -V clean verify -Prun-its -Pci
5354

5455

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

0 commit comments

Comments
 (0)