From 7b190076fd153f600401fa6c845f5559279223e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3r=C3=A1nt=20Pint=C3=A9r?= Date: Mon, 19 Aug 2024 23:13:36 +0200 Subject: [PATCH] Add GitHub build --- .editorconfig | 3 +++ .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.editorconfig b/.editorconfig index 6c0144a..3cb831d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,6 @@ insert_final_newline = true [gradle/verification-metadata.xml] indent_size = 3 + +[*.{json,yml,yaml}] +indent_size = 2 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..a4a94af --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Build Gradle project + +on: + push: + +jobs: + build: + runs-on: macos-13 + + steps: + - name: Checkout project sources + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build + run: | + ./gradlew build