From d41f6f315b40a745167910d602905e496aee9685 Mon Sep 17 00:00:00 2001 From: Aoibhe Wilson Date: Wed, 16 Oct 2024 15:36:25 +0200 Subject: [PATCH] ci(meta): add code checks with github action --- .github/workflows/check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..018b750 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,22 @@ +name: Code Check with Gradle + +on: + - push + - pull_request + +jobs: + check: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'zulu' + - uses: gradle/actions/setup-gradle@v4 + + - name: Run checks + run: ./gradlew check --continue