diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..9315ad9f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ +## Description + +Please include a summary of the changes and the related issue. Explain the motivation for the change. + +Fixes # (issue) + +## Checklist: + +- [ ] I have followed the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) guidelines for all my commits. + - Example of a Conventional Commit message: `feat: add new feature to enhance user experience` diff --git a/.github/workflows/PullRequest.yml b/.github/workflows/PullRequest.yml new file mode 100644 index 00000000..2ccd9f80 --- /dev/null +++ b/.github/workflows/PullRequest.yml @@ -0,0 +1,38 @@ +name: PR Build Check + +on: [pull_request] + +permissions: + contents: read + +concurrency: + group: "pull request build" + cancel-in-progress: true + +jobs: + build: + name: Build app + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: adopt + + - name: Build release artifacts + uses: gradle/gradle-command-action@v2 + with: + arguments: assembleRelease bundleReleaseClassesToCompileJar + + - name: Generate provider stubs + run: | + chmod +x .github/create_provider_stubs.sh + .github/create_provider_stubs.sh \ No newline at end of file