Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T17:24:29.000Z (about 1 month ago)
- Last Synced: 2024-10-04T16:44:18.008Z (about 1 month ago)
- Topics: danger, danger-swift, docker-image, github-actions, swift, swiftlint
- Language: Shell
- Size: 118 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [![Docker Hub](https://dockeri.co/image/41772ki/danger-swiftlint)](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@v3
- name: Danger
uses: 417-72KI/[email protected] # Look at the `Note for version`
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```### Note for version
> [!IMPORTANT]
> Docker images in `v5.8` and higher versions are updated for once a week.
> `v5.7` 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 |