Drop SwiftFormat SPM dep so it stops leaking to consumers (#215) #275
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: "RequestKit CI" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| spm: | |
| name: Test with SPM | |
| runs-on: ubuntu-latest | |
| container: swift:5.10-noble | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: SPM Test | |
| run: swift test --enable-test-discovery | |
| swiftformat: | |
| name: Linting | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/nicklockwood/swiftformat:0.52.8 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Lint | |
| run: swiftformat --lint . | |
| cli_build: | |
| name: Build CLI | |
| runs-on: ubuntu-latest | |
| container: swift:5.10-noble | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: SPM Test | |
| working-directory: OctoKitCLI | |
| run: swift run OctoKitCLI --help | |