diff options
author | Jakub <53441451+kuba6000@users.noreply.github.com> | 2022-08-10 21:26:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 21:26:27 +0200 |
commit | 81956675c5e93b3d4c3df5f85f5281c794141e41 (patch) | |
tree | 241e76891e5b10ff19fe0a607860dc66d1099677 | |
parent | b215737c229618c5dcf11bd47fb35b5d10c68c73 (diff) | |
download | GT5-Unofficial-81956675c5e93b3d4c3df5f85f5281c794141e41.tar.gz GT5-Unofficial-81956675c5e93b3d4c3df5f85f5281c794141e41.tar.bz2 GT5-Unofficial-81956675c5e93b3d4c3df5f85f5281c794141e41.zip |
Add actions (#2)
-rw-r--r-- | .github/test-scala-presence.toml | 2 | ||||
-rw-r--r-- | .github/workflows/build-and-test.yml | 13 | ||||
-rw-r--r-- | .github/workflows/release-tags.yml | 14 | ||||
-rw-r--r-- | .github/workflows/test-scala-presence.yml | 18 | ||||
-rw-r--r-- | CODEOWNERS | 3 |
5 files changed, 50 insertions, 0 deletions
diff --git a/.github/test-scala-presence.toml b/.github/test-scala-presence.toml new file mode 100644 index 0000000000..ae0e9acd49 --- /dev/null +++ b/.github/test-scala-presence.toml @@ -0,0 +1,2 @@ +[exclude] +"src/main/java/**/*.java" = "import scala."
\ No newline at end of file diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 0000000000..3ee2f686fd --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,13 @@ + +name: Build and test + +on: + pull_request: + branches: [ master, main ] + push: + branches: [ master, main ] + +jobs: + build-and-test: + uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master + secrets: inherit diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml new file mode 100644 index 0000000000..e4c0be6b0d --- /dev/null +++ b/.github/workflows/release-tags.yml @@ -0,0 +1,14 @@ + +name: Release tagged build + +on: + push: + tags: [ '*' ] + +permissions: + contents: write + +jobs: + release-tags: + uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master + secrets: inherit diff --git a/.github/workflows/test-scala-presence.yml b/.github/workflows/test-scala-presence.yml new file mode 100644 index 0000000000..6b1091e1fd --- /dev/null +++ b/.github/workflows/test-scala-presence.yml @@ -0,0 +1,18 @@ +name: Test Scala Presence + +on: + pull_request: + branches: [ master, main ] + push: + branches: [ master, main ] + +jobs: + test-scala-presence: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Check file content + uses: mattsb42-meta/not-grep@1.0.0 + with: + config-file: ./.github/test-scala-presence.toml diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000000..a6b5f68cd0 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,3 @@ +# Any Github changes require admin approval +/.github/** @GTNewHorizons/admin + |