diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a0a14d3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +# Dependabot configuration file for GitHub + +version: 2 +updates: + - package-ecosystem: "gradle" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/funding.yml b/.github/funding.yml new file mode 100644 index 0000000..362350e --- /dev/null +++ b/.github/funding.yml @@ -0,0 +1,4 @@ +# Funding metadata for GitHub + +github: WiIIiam278 +custom: https://buymeacoff.ee/william278 \ No newline at end of file diff --git a/.github/workflows/java_ci.yml b/.github/workflows/java_ci.yml new file mode 100644 index 0000000..c150a33 --- /dev/null +++ b/.github/workflows/java_ci.yml @@ -0,0 +1,24 @@ +# Builds, tests the project with Gradle +name: Java CI + +on: + push: + branches: [ 'master' ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 16 + uses: actions/setup-java@v3 + with: + java-version: '16' + distribution: 'temurin' + - name: Build with Gradle + uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 + with: + arguments: build \ No newline at end of file diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml new file mode 100644 index 0000000..84ddcbc --- /dev/null +++ b/.github/workflows/pr_tests.yml @@ -0,0 +1,24 @@ +# Carry out tests on pull requests +name: PR Tests + +on: + pull_request: + branches: [ 'master' ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 16 + uses: actions/setup-java@v3 + with: + java-version: '16' + distribution: 'temurin' + - name: Test Pull Request + uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 + with: + arguments: build \ No newline at end of file