Skip to content

Commit

Permalink
Added linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Bates committed Apr 22, 2024
1 parent 7e09e23 commit a399e74
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 0 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Fastlane/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a399e74

Please sign in to comment.