Skip to content

SwiftLint Annotations

Actions
Run SwiftLint from your GitHub Actions with ease and annotations
v1.1.0
Latest
Star (17)

SwiftLint Action

Run SwiftLint from your GitHub Actions with ease and annotations.

SwiftLintDemoPR

Works with GitHub-managed runners, self-hosted runners and runners from services like Cirrus Runners.

Usage

steps:
  - uses: cirruslabs/swiftlint-action@v1
    with:
      version: latest

Here is a full example of a workflow file:

# .github/workflows/swiftlint.yml
name: SwiftLint

on:
  push:
    branches: ['main']
  pull_request:
    branches: ['main']

jobs:
  SwiftLint:
    runs-on: ghcr.io/cirruslabs/macos-runner:sonoma
    steps:
      - uses: actions/checkout@v4
      - uses: cirruslabs/swiftlint-action@v1
        with:
          version: latest

SwiftLint Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run SwiftLint from your GitHub Actions with ease and annotations
v1.1.0
Latest

SwiftLint Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.