diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..717944ee0 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,28 @@ +name: Lint + +on: + push: + branches: + - main + pull_request: + types: [ opened, reopened, synchronize, ready_for_review ] + branches: [ develop, release/*, main ] + +permissions: + checks: read + contents: read + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v3 + + - name: Run linters + uses: wearerequired/lint-action@v2 + with: + rubocop: true + swiftlint: true diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 9750999f9..6cd50df78 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -27,9 +27,6 @@ jobs: - name: Install Gems run: bundle install - - name: Rubocop - run: bundle exec rubocop - - name: Unit tests env: LC_ALL: "en_US.UTF-8" diff --git a/Fastlane/configuration.rb b/Fastlane/configuration.rb index 1a8e90c21..e1654b681 100644 --- a/Fastlane/configuration.rb +++ b/Fastlane/configuration.rb @@ -2,7 +2,7 @@ require 'yaml' -# Conficuration class to interface with .build.yml +# Configuration class to interface with .build.yml class Configuration def initialize(lane_name, yaml) @lane_name = lane_name