Fix GitHub Actions YAML syntax error #34
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
| # This action runs on a local github runner | |
| # See https://jano.dev/programming/2022/04/15/local-spm-ga.html | |
| name: Swift | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Build and Test | |
| runs-on: [self-hosted] | |
| env: | |
| DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Package | |
| run: swift build -v | |
| - name: Run Tests | |
| run: swift test -v |