https://github.com/417-72ki/danger-swiftlint
Docker image for Danger-Swift using SwiftLint
https://github.com/417-72ki/danger-swiftlint
danger danger-swift docker-image github-actions swift swiftlint
Last synced: 2 months ago
JSON representation
Docker image for Danger-Swift using SwiftLint
- Host: GitHub
- URL: https://github.com/417-72ki/danger-swiftlint
- Owner: 417-72KI
- License: mit
- Created: 2020-01-10T01:17:10.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T09:07:06.000Z (about 1 year ago)
- Last Synced: 2025-04-10T10:43:06.918Z (about 1 year ago)
- Topics: danger, danger-swift, docker-image, github-actions, swift, swiftlint
- Language: Shell
- Size: 126 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [](https://hub.docker.com/r/41772ki/danger-swiftlint)
Docker image for [Danger-Swift](https://github.com/danger/swift) using [SwiftLint](https://github.com/realm/SwiftLint)
# Usage Sample
## Local Docker
```sh
$ docker run -v `pwd`:`pwd` -w `pwd` 41772ki/danger-swiftlint local
```
## GitHub Actions
```yml
name: Danger
on:
pull_request:
paths:
- '.swiftlint.yml'
- '**/*.swift'
jobs:
Danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Danger
uses: 417-72KI/danger-swiftlint@v6.3 # Look at the `Note for version`
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
### Note for version
> [!IMPORTANT]
> Docker images in `v6.0` and higher versions are updated for once a week.
> Since `v5.10` and below also can be used in GitHub Actions, but Docker images of them are no longer updated.
| tag | Swift version |
| --- | ------------- |
| `v5.5+` | Same as the tag |
| `v4` | 5.4 |
| `v3` | 5.3 |
| `v2` | 5.2 |
| `v1` | 5.1 |