Skip to content

Commit

Permalink
ci: move SwiftLint over to Azure (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
rebello95 authored and jpsim committed Nov 28, 2022
1 parent c8c97e2 commit db503f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mobile/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
- checkout
- run: git submodule update --init
- run: tools/check_format.sh
swiftlint:
docker:
- image: norionomura/swiftlint:0.33.0_swift-5.0
steps:
- checkout
- run: swiftlint lint --strict

workflows:
version: 2
Expand All @@ -45,4 +39,3 @@ workflows:
tags:
only: /^v.*/
- format
- swiftlint
15 changes: 15 additions & 0 deletions mobile/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
resources:
containers:
- container: swiftlint-container
image: norionomura/swiftlint:0.33.0_swift-5.0

trigger:
- master

jobs:
- job: ios_swift_lint
timeoutInMinutes: 360
pool:
vmImage: 'Ubuntu 16.04'
container: swiftlint-container
steps:
- checkout: self
submodules: true
- script: swiftlint lint --strict
displayName: 'Run SwiftLint'
- job: iOS_dist
timeoutInMinutes: 360
pool:
Expand Down

0 comments on commit db503f1

Please sign in to comment.