프로젝트
GitHub에서 보기
norio-nomura/action-swiftlint
소개
SwiftLint용 GitHub Action
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGitHub Action for SwiftLint
This Action executes SwiftLint and generates annotations from SwiftLint Violations.
Usage
An example workflow(.github/workflows/swiftlint.yml) to executing SwiftLint follows:
name: SwiftLint
on:
pull_request:
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
- name: GitHub Action for SwiftLint with --strict
uses: norio-nomura/[email protected]
with:
args: --strict
- name: GitHub Action for SwiftLint (Only files changed in the PR)
uses: norio-nomura/[email protected]
env:
DIFF_BASE: ${{ github.base_ref }}
- name: GitHub Action for SwiftLint (Different working directory)
uses: norio-nomura/[email protected]
env:
WORKING_DIRECTORY: Source
Secrets
- Specifying
GITHUB_TOKENtosecretsis required to using Check Run APIs for generating annotations from SwiftLint Violations. - Since 3.0.0,
GITHUB_TOKENis no longer needed.
Example
Here is an example that actually works.

Author
Norio Nomura
License
관련 프로젝트 살펴보기
불러오는 중…