diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a8fb724 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,36 @@ +--- +name: Pull Request +about: Create a new pull request +labels: '' +--- + +## Task summery + + +## Related Issue + + +## What type of change does this Task introduce? + +- [ ] ✨ New feature (non-breaking change which adds functionality) +- [ ] 🐛 Bug fix (non-breaking change which fixes an issue) +- [ ] ♻️ Refactor (non-breaking change which neither fixes a bug nor adds a feature) +- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] 📚 Documentation update +- [ ] ⚙️ Build/CI configuration +- [ ] 🎨 Style (changes that do not affect the meaning of the code) + +## Checklist + + +- [ ] My code follows the style guidelines of this project. +- [ ] Test code has been successfully executed. +- [ ] I have performed a lint check. `./gradlew detekt` +- [ ] I have tested my changes directly and confirmed that they are effective. + +## Screenshots + + +| Before | After | +| ------ | ----- | +| | | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..1526676 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,27 @@ +name: Lint Check + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + detekt: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + + - name: Run detekt + run: ./gradlew detekt