-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
2,152 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 2 | ||
|
||
updates: | ||
|
||
# ================================ | ||
# UPDATE GRADLE DEPENDENCIES | ||
# ================================ | ||
- package-ecosystem: gradle | ||
directory: / | ||
target-branch: develop | ||
schedule: | ||
interval: weekly | ||
|
||
# ================================ | ||
# UPDATE GITHUB ACTIONS | ||
# ================================ | ||
- package-ecosystem: github-actions | ||
directory: / | ||
target-branch: develop | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
# Continuous Integration | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
build: | ||
|
||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# ================================ | ||
# SHALLOW CLONE | ||
# ================================ | ||
- name: Shallow clone | ||
uses: actions/checkout@v4 | ||
|
||
# ================================ | ||
# VALIDATE GRADLE WRAPPER | ||
# ================================ | ||
- name: Validate Gradle Wrapper files | ||
uses: gradle/actions/wrapper-validation@v4 | ||
|
||
# ================================ | ||
# SET UP JDK | ||
# ================================ | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-package: jdk | ||
java-version: 17 | ||
|
||
# ================================ | ||
# SET UP GRADLE | ||
# ================================ | ||
- name: Set up Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" | ||
cache-read-only: ${{ github.ref_name != 'main' && github.ref_name != 'develop' }} | ||
|
||
# ================================ | ||
# BUILD | ||
# ================================ | ||
- name: Build | ||
run: ./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
# Discover vulnerabilities with CodeQL | ||
name: CodeQL | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
schedule: | ||
- cron: '0 8 * * 0' | ||
|
||
jobs: | ||
analyze: | ||
|
||
name: Analyze Java | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 360 | ||
permissions: | ||
security-events: write | ||
|
||
steps: | ||
|
||
# ================================ | ||
# SHALLOW CLONE | ||
# ================================ | ||
- name: Shallow clone | ||
uses: actions/checkout@v4 | ||
|
||
# ================================ | ||
# SET UP CODEQL | ||
# ================================ | ||
- name: Set up CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: java-kotlin | ||
build-mode: autobuild | ||
|
||
# ================================ | ||
# ANALYZE | ||
# ================================ | ||
- name: Analyze with CodeQL | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:java-kotlin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
# Submit dependencies | ||
name: Dependencies | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
dependencies: | ||
|
||
name: Submit dependencies | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# ================================ | ||
# SHALLOW CLONE | ||
# ================================ | ||
- name: Shallow clone | ||
uses: actions/checkout@v4 | ||
|
||
# ================================ | ||
# SET UP JDK | ||
# ================================ | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-package: jdk | ||
java-version: 17 | ||
|
||
# ================================ | ||
# SUBMIT DEPENDENCIES | ||
# ================================ | ||
- name: Generate and submit dependency graph | ||
uses: gradle/actions/dependency-submission@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
# Schedule Gradle Wrapper updates | ||
name: Update Gradle Wrapper | ||
|
||
on: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-gradle-wrapper: | ||
|
||
name: Update Gradle Wrapper | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# ================================ | ||
# SHALLOW CLONE | ||
# ================================ | ||
- name: Shallow clone | ||
uses: actions/checkout@v4 | ||
|
||
# ================================ | ||
# SET UP JDK | ||
# ================================ | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-package: jdk | ||
java-version: 17 | ||
|
||
# ================================ | ||
# UPDATE GRADLE WRAPPER | ||
# ================================ | ||
- name: Update Gradle Wrapper | ||
uses: gradle-update/update-gradle-wrapper-action@v1 | ||
with: | ||
release-channel: stable | ||
base-branch: develop | ||
target-branch: develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
HELP.md | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ |
Oops, something went wrong.