From 373dd4a664e4018491155380eda906be96f52d0d Mon Sep 17 00:00:00 2001 From: Lucas Romano Date: Fri, 29 Nov 2024 12:34:00 -0300 Subject: [PATCH] fix validations --- .github/workflows/validations.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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: