Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced maintenance: GH workflow and dependency automation #173

Merged
merged 5 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/maven-test-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Maven Test

on:
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: "11"
distribution: "temurin"

- name: Test with Maven
run: mvn -B test
39 changes: 39 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>ashleycaselli/renovate-config"
],
"automerge": false,
"packageRules": [
{
"description": "Updates to the parent dependencies should trigger a new patch release",
"matchPaths": [
"pom.xml"
],
"semanticCommitType": "chore",
"semanticCommitScope": "core-deps"
},
{
"description": "Updates to the dependencies under the build settings element should not trigger any release",
"matchPaths": [
"pom.xml"
],
"matchDepTypes": [
"build"
],
"semanticCommitType": "build",
"semanticCommitScope": "deps"
},
{
"description": "Updates to the dependencies with scope 'test' should be tagged as 'test(deps)'",
"matchPaths": [
"pom.xml"
],
"matchDepTypes": [
"test"
],
"semanticCommitType": "test",
"semanticCommitScope": "deps"
}
]
}