From 4c96449b193cb6a666ad41fe8f883b47cb1ed1c8 Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Fri, 28 Jun 2024 12:54:46 -0500 Subject: [PATCH] Add verification workflow and Dependabot --- .github/dependabot.yml | 20 ++++++++++++++++++++ .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/build.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9e72fe6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +version: 2 +registries: + gradle-plugin-portal: + type: maven-repository + url: https://plugins.gradle.org/m2 + username: dummy # Required by dependabot + password: dummy # Required by dependabot +updates: + - package-ecosystem: gradle + directory: / + registries: + - gradle-plugin-portal + schedule: + interval: daily + time: "08:00" + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily + time: "08:00" diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..6341965 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v3 + with: + validate-wrappers: true + - name: Build + run: ./gradlew build