Skip to content

Make build test workflow reusable #1

Make build test workflow reusable

Make build test workflow reusable #1

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [ "main" ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
detekt:
name: Detekt review
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 1
ref: ${{ github.head_ref }}
- name: Detekt PR Check
uses: alaegin/[email protected]
with:
reviewdog_reporter: github-pr-check
github_token: ${{ secrets.github_token }}
fail_on_error: true
detekt_config: internal/detekt-config.yml
buildtestandanalyze:
uses: ./.github/workflows/build-test-analyze.yml
secrets: inherit