Skip to content

Commit

Permalink
Update Usage in README
Browse files Browse the repository at this point in the history
  • Loading branch information
norio-nomura committed Oct 28, 2019
1 parent 4e38c86 commit faf70f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ This Action executes [SwiftLint](https://github.com/realm/SwiftLint) and generat

## Usage

An example workflow to executing SwiftLint follows:
An example workflow(`.github/workflows/swiftlint.yml`) to executing SwiftLint follows:

```yaml
name: CI

on: [push, pull_request]
pull_request:
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'

jobs:
build:
Expand Down

0 comments on commit faf70f3

Please sign in to comment.