Improve repository.

- add kokuwa checkstyle
- add dependabot
- add dependency documentation
- add code owners
- add codeql
- add license badge
This commit is contained in:
Stephan Schnabel 2022-01-25 11:30:00 +01:00
parent f92d80d1a9
commit da9cc4d90f
Signed by: stephan.schnabel
GPG key ID: E07AF5BA239FE543
7 changed files with 111 additions and 13 deletions

4
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1,4 @@
@sschnabe
@wistefan
@rpahli
@fabian-schlegel

15
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: maven
directory: /
schedule:
interval: daily
ignore:
- dependency-name: ch.qos.logback:logback-classic
update-types: ["version-update:semver-major"]
- dependency-name: io.micronaut:micronaut-bom
update-types: ["version-update:semver-major"]
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily

26
.github/workflows/codeql.yaml vendored Normal file
View file

@ -0,0 +1,26 @@
name: CodeQL
"on":
workflow_dispatch: {}
push:
branches: [main]
pull_request:
branches: [main]
paths: [src/main/java/*.java]
schedule:
- cron: '0 0 * * 0'
jobs:
codeql:
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: java
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1

View file

@ -20,6 +20,7 @@ jobs:
with:
distribution: temurin
java-version: 11
cache: maven
server-id: sonatype-nexus
server-username: SERVER_USERNAME
server-password: SERVER_PASSWORD

View file

@ -6,7 +6,7 @@ name: Snapshot
jobs:
lint-yaml:
yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -15,7 +15,7 @@ jobs:
format: colored
strict: true
lint-markdown:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -47,7 +47,7 @@ jobs:
if: failure()
with:
name: surefire
path: '*/target/surefire-reports/*.xml'
path: '**/target/surefire-reports/*.xml'
reporter: java-junit
list-suites: failed
list-tests: failed