-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'framework/textprovider-json/' from commit 'ead59c0924327207e2fec…
…17f15b0884a6e3a5df6' git-subtree-dir: framework/textprovider-json git-subtree-mainline: 717d282 git-subtree-split: ead59c0
- Loading branch information
Showing
46 changed files
with
3,796 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,6 @@ | ||
[*.{kt,kts}] | ||
insert_final_newline = true | ||
ij_kotlin_allow_trailing_comma = false | ||
ij_kotlin_allow_trailing_comma_on_call_site = false | ||
ij_kotlin_name_count_to_use_star_import = 999 | ||
ij_kotlin_name_count_to_use_star_import_for_members = 999 |
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,121 @@ | ||
# Common settings that generally should always be used with your language specific settings | ||
|
||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# | ||
# The above will handle all files NOT found below | ||
# | ||
|
||
# Documents | ||
*.bibtex text diff=bibtex | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain | ||
*.md text diff=markdown | ||
*.mdx text diff=markdown | ||
*.tex text diff=tex | ||
*.adoc text | ||
*.textile text | ||
*.mustache text | ||
*.csv text | ||
*.tab text | ||
*.tsv text | ||
*.txt text | ||
*.sql text | ||
*.epub diff=astextplain | ||
|
||
# Graphics | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.tif binary | ||
*.tiff binary | ||
*.ico binary | ||
# SVG treated as text by default. | ||
*.svg text | ||
# If you want to treat it as binary, | ||
# use the following line instead. | ||
# *.svg binary | ||
*.eps binary | ||
|
||
# Scripts | ||
*.bash text eol=lf | ||
*.fish text eol=lf | ||
*.sh text eol=lf | ||
*.zsh text eol=lf | ||
# These are explicitly windows files and should use crlf | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.ps1 text eol=crlf | ||
|
||
# Serialisation | ||
*.json text | ||
*.toml text | ||
*.xml text | ||
*.yaml text | ||
*.yml text | ||
|
||
# Archives | ||
*.7z binary | ||
*.gz binary | ||
*.tar binary | ||
*.tgz binary | ||
*.zip binary | ||
|
||
# Text files where line endings should be preserved | ||
*.patch -text | ||
|
||
# | ||
# Exclude files from exporting | ||
# | ||
|
||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.gitkeep export-ignore | ||
|
||
# Java sources | ||
*.java text diff=java | ||
*.kt text diff=kotlin | ||
*.groovy text diff=java | ||
*.scala text diff=java | ||
*.gradle text diff=java | ||
*.gradle.kts text diff=kotlin | ||
|
||
# These files are text and should be normalized (Convert crlf => lf) | ||
*.css text diff=css | ||
*.scss text diff=css | ||
*.sass text | ||
*.df text | ||
*.htm text diff=html | ||
*.html text diff=html | ||
*.js text | ||
*.jsp text | ||
*.jspf text | ||
*.jspx text | ||
*.properties text | ||
*.tld text | ||
*.tag text | ||
*.tagx text | ||
*.xml text | ||
|
||
# These files are binary and should be left untouched | ||
# (binary is a macro for -text -diff) | ||
*.class binary | ||
*.dll binary | ||
*.ear binary | ||
*.jar binary | ||
*.so binary | ||
*.war binary | ||
*.jks binary | ||
|
||
# Apply override to all files in the directory | ||
*.md linguist-detectable |
Validating CODEOWNERS rules …
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 @@ | ||
* @Gram21 @Hossiphi @dfuchss @laxraa |
16 changes: 16 additions & 0 deletions
16
framework/textprovider-json/.github/workflows/dependency-update.yml
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,16 @@ | ||
name: Maven Dependency Updates | ||
|
||
on: | ||
schedule: | ||
- cron: "30 10 * * 2" | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
uses: ardoco/actions/.github/workflows/maven-update.yml@main | ||
with: | ||
with-submodules: true | ||
secrets: | ||
PAT: ${{ secrets.SDQ_TOKEN }} |
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,29 @@ | ||
name: Maven Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' # Build the latest develop-SNAPSHOT | ||
paths: | ||
- '**/src/**' | ||
- '**/pom.xml' | ||
- 'pom.xml' | ||
|
||
# Publish `v1.2.3` tags as releases. | ||
tags: | ||
- v* | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish: | ||
uses: ardoco/actions/.github/workflows/maven.yml@main | ||
with: | ||
deploy: true | ||
with-submodules: true | ||
secrets: | ||
OSSRH_USER: ${{secrets.OSSRH_USER}} | ||
OSSRH_TOKEN: ${{secrets.OSSRH_TOKEN}} | ||
GPG_KEY: ${{secrets.GPG_KEY}} | ||
|
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,32 @@ | ||
name: Format | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
- uses: joshlong/java-version-export-github-action@v28 | ||
id: jve | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ steps.jve.outputs.java_major_version }} | ||
cache: 'maven' | ||
- name: Format with Spotless in Maven | ||
run: mvn -B spotless:apply --file pom.xml | ||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Apply formatting changes |
23 changes: 23 additions & 0 deletions
23
framework/textprovider-json/.github/workflows/maven-manual-release.yml
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,23 @@ | ||
name: Maven Release (Manual) | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
inputs: | ||
release-version: | ||
type: string | ||
description: The version for release. E.g., "1.2.3" | ||
required: true | ||
next-version: | ||
type: string | ||
description: The version after release. E.g., "2.0.0-SNAPSHOT" | ||
required: true | ||
jobs: | ||
release: | ||
uses: ardoco/actions/.github/workflows/maven-manual-release.yml@main | ||
secrets: | ||
# Needs to be a personal access token to push as a certain user; otherwise actions won't be triggered. | ||
PAT: ${{ secrets.SDQ_TOKEN }} | ||
with: | ||
release-version: ${{ github.event.inputs.release-version }} | ||
next-version: ${{ github.event.inputs.next-version }} |
14 changes: 14 additions & 0 deletions
14
framework/textprovider-json/.github/workflows/maven-release.yml
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,14 @@ | ||
name: Maven Release | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
uses: ardoco/actions/.github/workflows/maven-release.yml@main | ||
with: | ||
with-submodules: true | ||
secrets: | ||
# Needs to be a personal access token to push as a certain user; otherwise actions won't be triggered. | ||
PAT: ${{ secrets.SDQ_TOKEN }} |
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,11 @@ | ||
name: Create Release | ||
on: | ||
push: | ||
# Publish `v1.2.3` tags as releases. | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
release: | ||
uses: ardoco/actions/.github/workflows/github-release.yml@main | ||
|
21 changes: 21 additions & 0 deletions
21
framework/textprovider-json/.github/workflows/sonarcloud.yml
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 @@ | ||
name: Sonar Cloud | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sonarcloud: | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
uses: ardoco/actions/.github/workflows/sonarcloud.yml@main | ||
with: | ||
with-submodules: true | ||
secrets: | ||
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}} | ||
|
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,25 @@ | ||
name: Maven Verify | ||
|
||
on: | ||
push: # Ignore releases and main dev branch | ||
tags-ignore: | ||
- 'v*' | ||
branches-ignore: | ||
- 'main' | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
verify: | ||
uses: ardoco/actions/.github/workflows/maven.yml@main | ||
with: | ||
deploy: false | ||
with-submodules: true | ||
secrets: | ||
OSSRH_USER: "" | ||
OSSRH_TOKEN: "" | ||
GPG_KEY: ${{secrets.GPG_KEY}} | ||
|
Oops, something went wrong.