-
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.
Improve GHA and usual repository boilerplate (#12)
Refactoring GHA for code quality
- Loading branch information
1 parent
37ddeb1
commit 3f4bd23
Showing
11 changed files
with
78 additions
and
59 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
This file was deleted.
Oops, something went wrong.
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
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