Skip to content

Commit d275786

Browse files
committed
Full example
1 parent 2d117b3 commit d275786

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,25 @@ steps:
1212
with:
1313
version: latest
1414
```
15+
16+
Here is a full example of a workflow file:
17+
18+
```yaml
19+
# .github/workflows/swiftlint.yml
20+
name: SwiftLint
21+
22+
on:
23+
push:
24+
branches: [ "main" ]
25+
pull_request:
26+
branches: [ "main" ]
27+
28+
jobs:
29+
SwiftLint:
30+
runs-on: ghcr.io/cirruslabs/macos-runner:sonoma
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: cirruslabs/swiftlint-action@v1
34+
with:
35+
version: latest
36+
```

0 commit comments

Comments
 (0)