CI: Run 'swift package update' in hopes to fix remaining Linux errors #454
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| swift-lint: | |
| runs-on: macOS-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Lint | |
| run: | | |
| URL="https://github.com/realm/SwiftLint/releases/download/0.50.3/portable_swiftlint.zip" | |
| curl -LO "$URL" | |
| unzip portable_swiftlint -d ./swiftlint | |
| rm -rf portable_swiftlint.zip | |
| echo "Linting with swiftlint $(./swiftlint/swiftlint version)" | |
| ./swiftlint/swiftlint lint --reporter github-actions-logging | |
| shell: bash |