diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index b895970c..788a2cbb 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -6,20 +6,23 @@ 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 + - uses: actions/checkout@v3 - name: Danger - uses: docker://frmeloni/danger-swift-with-swiftlint:3.15.0 + uses: 417-72KI/danger-swiftlint@v5.10 # Look at the `Note for version` with: args: --failOnErrors --verbose env: