-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README.md * Improve GHA and usual repository boilerplate (#12) Refactoring GHA for code quality * Repository cleanup (#19) * Delete unnecessary files * Setup multi modular gradle project properly * Rename GUILD.md to README.md * Run Spotless on all files * Update Spring plugin to latest for Java 21 support * Create pre-commit.yaml GHA * Use .yaml for Spring properties * Packaged JShellWrapper * Add docker-compose.yaml * Update README.md --------- Co-authored-by: Alathreon <45936420+Alathreon@users.noreply.github.com> Co-authored-by: Suraj Kumar <suraj.kumar@digital.cabinet-office.gov.uk> Co-authored-by: Suraj Kumar <sk96.uk@gmail.com>
- Loading branch information
1 parent
dfd06a1
commit 1a41fc8
Showing
74 changed files
with
903 additions
and
1,101 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 @@ | ||
* text eol=lf |
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,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
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,26 @@ | ||
[contributing]: https://github.com/Together-Java/TJ-Bot/wiki/Contributing | ||
[code_guidelines]: https://github.com/Together-Java/TJ-Bot/wiki/Code-Guidelines | ||
[new_issue]: https://github.com/Together-Java/TJ-Bot/issues/new/choose | ||
|
||
## Pull-request | ||
|
||
- [ ] I have read the [contributing guidelines][contributing]. | ||
- [ ] I have read the [code guidelines][code_guidelines]. | ||
- [ ] I have created a relating [issue][new_issue]. | ||
|
||
### Changes | ||
|
||
- [ ] Existing code | ||
- [ ] New feature | ||
|
||
<!-- | ||
While an issue isn't required, this is preferred for most changes. | ||
It helps make it maintainable for us, and will save you from possibly recoding everything :p | ||
If there's no relating issue, keep it NaN | ||
--> | ||
|
||
Closes Issue: NaN | ||
|
||
## Description | ||
|
||
Replace this sentence with general description of what your Pull Request does. |
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
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
name: Docker Verify | ||
|
||
on: [pull_request] | ||
|
||
env: | ||
JAVA_VERSION: 19 | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docker: | ||
name: Docker Verify | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ env.JAVA_VERSION }} | ||
- uses: actions/checkout@v2 | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Docker Verify | ||
java-version: 21 | ||
distribution: 'corretto' | ||
|
||
- name: Build Docker image | ||
run: ./gradlew jibDockerBuild |
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,22 @@ | ||
name: pre-commit | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '21' | ||
distribution: 'corretto' | ||
|
||
- uses: gradle/gradle-build-action@v3 | ||
with: | ||
gradle-version: 8.7 | ||
|
||
- name: Build with Gradle | ||
run: gradle 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.