Improve repository.
- add kokuwa checkstyle - add dependabot - add dependency documentation - add code owners - add codeql - add license badge
This commit is contained in:
parent
f92d80d1a9
commit
5025e207da
7 changed files with 115 additions and 16 deletions
27
.github/workflows/codeql.yaml
vendored
Normal file
27
.github/workflows/codeql.yaml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: CodeQL
|
||||
|
||||
"on":
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches: [main]
|
||||
paths: [src/main/java/*.java]
|
||||
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
|
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/snapshot.yaml
vendored
6
.github/workflows/snapshot.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue