Add Git Trees and Refs API endpoints (#40) (#211) #268
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: swift:5.10-noble | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Lint | |
| run: swift package plugin --allow-writing-to-package-directory 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 | |