diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-09 12:40:59 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-11 14:26:46 +0200 |
| commit | 86efb93c8e2463633f55644146f27a2c3fa3e009 (patch) | |
| tree | d6f29043f38c21318463d22ecd4d5cd0fbbaefc0 /.github | |
| parent | df209be76105db4da7b667f0b2eb4bfd24234ec4 (diff) | |
| download | mullvadvpn-86efb93c8e2463633f55644146f27a2c3fa3e009.tar.xz mullvadvpn-86efb93c8e2463633f55644146f27a2c3fa3e009.zip | |
Add a swiftlint configuration and a github action for running swiftlint
Use the same swiftlint version as on brew
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ios.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index aa82aa450b..44404a3f5f 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -26,6 +26,21 @@ jobs: swiftformat --version swiftformat --lint . + swiftlint: + name: Run swiftlint + runs-on: ubuntu-latest + container: + image: ghcr.io/realm/swiftlint:0.52.4 + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 1 + + - name: SwiftLint + run: | + swiftlint --reporter github-actions-logging + test: name: Unit tests runs-on: macos-13 |
