diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index b895970c..ba3d762c 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -6,15 +6,19 @@ on: types: [opened, reoneped, edited, synchronized] jobs: - lint: + SwiftLint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v1 + - name: GitHub Action for SwiftLint (Only files changed in the PR) + uses: norio-nomura/action-swiftlint@3.2.1 + env: + DIFF_BASE: ${{ github.base_ref }} - name: GitHub Action for SwiftLint with --reporter uses: norio-nomura/action-swiftlint@3.2.1 args: --reporter github-actions-logging - danger: + Danger: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4