Update versions and build stuff
This commit is contained in:
parent
2da5046552
commit
e2c6a7daa1
5 changed files with 56 additions and 33 deletions
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
|
@ -1,2 +1,4 @@
|
|||
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
|
||||
* @kokuwaio-bot @sschnabe @rpahli @fabian-schlegel
|
||||
* @sschnabe @rpahli @fabian-schlegel @wistefan
|
||||
.github/workflows/* @kokuwaio-bot @sschnabe @rpahli @fabian-schlegel @wistefan
|
||||
pom.xml @kokuwaio-bot @sschnabe @rpahli @fabian-schlegel @wistefan
|
||||
|
|
13
.github/dependabot.yml
vendored
13
.github/dependabot.yml
vendored
|
@ -3,11 +3,22 @@ updates:
|
|||
- package-ecosystem: maven
|
||||
directory: /
|
||||
schedule:
|
||||
interval: daily
|
||||
interval: monthly
|
||||
day: monday
|
||||
# github parses time without quotes to int
|
||||
# yamllint disable-line rule:quoted-strings
|
||||
time: "09:00"
|
||||
timezone: Europe/Berlin
|
||||
ignore:
|
||||
# logback 1.3 and 1.4 are compatible with slf4j 2.x only
|
||||
- dependency-name: ch.qos.logback:logback-classic
|
||||
update-types: [version-update:semver-major, version-update:semver-minor]
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: monthly
|
||||
day: monday
|
||||
# github parses time without quotes to int
|
||||
# yamllint disable-line rule:quoted-strings
|
||||
time: "09:00"
|
||||
timezone: Europe/Berlin
|
||||
|
|
32
.github/workflows/ci.yaml
vendored
32
.github/workflows/ci.yaml
vendored
|
@ -25,19 +25,29 @@ jobs:
|
|||
with:
|
||||
args: /github/workspace
|
||||
|
||||
codeql:
|
||||
javadoc:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
actions: read
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: github/codeql-action/init@v2
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
languages: java
|
||||
- uses: github/codeql-action/autobuild@v2
|
||||
- uses: github/codeql-action/analyze@v2
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
cache: maven
|
||||
- run: mvn -B -ntp dependency:go-offline
|
||||
- run: mvn -B -ntp javadoc:javadoc-no-fork -Dmaven.javadoc.failOnWarnings=true -Ddoclint=all
|
||||
|
||||
checkstyle:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
cache: maven
|
||||
- run: mvn -B -ntp dependency:go-offline
|
||||
- run: mvn -B -ntp checkstyle:check
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -52,9 +62,9 @@ jobs:
|
|||
server-username: SERVER_USERNAME
|
||||
server-password: SERVER_PASSWORD
|
||||
- run: mvn -B -ntp dependency:go-offline
|
||||
- run: mvn -B -ntp verify
|
||||
- run: mvn -B -ntp verify -Dcheckstyle.skip
|
||||
if: ${{ github.ref != 'refs/heads/main' }}
|
||||
- run: mvn -B -ntp deploy
|
||||
- run: mvn -B -ntp deploy -Dcheckstyle.skip
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
env:
|
||||
SERVER_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue