Skip to content

Merge pull request #98 from wang-angela/feature/table-of-contents #56

Merge pull request #98 from wang-angela/feature/table-of-contents

Merge pull request #98 from wang-angela/feature/table-of-contents #56

name: "[Linux] SwiftLint"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/realm/swiftlint:latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Run SwiftLint and annotate
run: |
# Run SwiftLint and fail the job if any violations are found
swiftlint lint --reporter github-actions-logging || exit 1