aboutsummaryrefslogtreecommitdiff
path: root/kubatech/.github
diff options
context:
space:
mode:
Diffstat (limited to 'kubatech/.github')
-rw-r--r--kubatech/.github/test-scala-presence.toml2
-rw-r--r--kubatech/.github/workflows/build-and-test.yml15
-rw-r--r--kubatech/.github/workflows/release-tags.yml14
-rw-r--r--kubatech/.github/workflows/test-scala-presence.yml18
4 files changed, 49 insertions, 0 deletions
diff --git a/kubatech/.github/test-scala-presence.toml b/kubatech/.github/test-scala-presence.toml
new file mode 100644
index 0000000000..ae0e9acd49
--- /dev/null
+++ b/kubatech/.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/kubatech/.github/workflows/build-and-test.yml b/kubatech/.github/workflows/build-and-test.yml
new file mode 100644
index 0000000000..d33f352e71
--- /dev/null
+++ b/kubatech/.github/workflows/build-and-test.yml
@@ -0,0 +1,15 @@
+
+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
+ with:
+ timeout: 150
diff --git a/kubatech/.github/workflows/release-tags.yml b/kubatech/.github/workflows/release-tags.yml
new file mode 100644
index 0000000000..e4c0be6b0d
--- /dev/null
+++ b/kubatech/.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/kubatech/.github/workflows/test-scala-presence.yml b/kubatech/.github/workflows/test-scala-presence.yml
new file mode 100644
index 0000000000..6b1091e1fd
--- /dev/null
+++ b/kubatech/.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