Build HTML content with Swift DSL #497
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: Swift | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| test_beta: | |
| runs-on: macos-15 | |
| steps: | |
| - name: Select Xcode | |
| run: sudo xcode-select -s "/Applications/Xcode_16.4.app" | |
| - name: Get swift version | |
| run: swift --version | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build -v | |
| - name: Run tests | |
| run: swift test -v | |
| test_latest: | |
| runs-on: macos-15 | |
| steps: | |
| - name: Select Xcode | |
| run: sudo xcode-select -s "/Applications/Xcode_16.4.app" | |
| - name: Get swift version | |
| run: swift --version | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build -v |