fix: Switch CI log processor from xcbeautify to xcpretty #2378
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
env: | |
PACKAGE_NAME: aws-sdk-swift | |
jobs: | |
ktlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Lint ${{ env.PACKAGE_NAME }} | |
run: ./gradlew ktlint | |
swiftlint: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/realm/swiftlint:0.52.3 | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Run swiftlint on AWSClientRuntime | |
run: swiftlint --reporter github-actions-logging |