]> git.frustrated-labs.net Git - gradle-changelog-plugin.git/commitdiff
ci: add gh workflow to run tests
authorAlexander Goussas <[email protected]>
Fri, 24 Oct 2025 17:21:19 +0000 (12:21 -0500)
committerAlexander Goussas <[email protected]>
Fri, 24 Oct 2025 17:25:05 +0000 (12:25 -0500)
.github/workflows/test.yml [new file with mode: 0644]

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..03b9858
--- /dev/null
@@ -0,0 +1,22 @@
+name: Run tests
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v4
+
+      - name: Set up JDK
+        uses: actions/setup-java@v4
+        with:
+          distribution: temurin
+          java-version: 21
+
+      - name: Run tests
+        run: ./gradlew :changelog-plugin:test