Add failable init to CaptureGroup #417
Workflow file for this run
This file contains 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: xcbeautify | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
merge_group: {} | |
env: | |
SWIFT_VERSION: 5.7 | |
jobs: | |
macos: | |
name: Build on macOS | |
runs-on: macOS-latest | |
steps: | |
- uses: swift-actions/setup-swift@61a116f4030ac34fb5731aab0eff5a0aed94ba29 | |
with: | |
swift-version: ${{ env.SWIFT_VERSION }} | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: swift build --disable-sandbox --configuration release | |
- name: Test | |
run: set -o pipefail && swift test 2>&1 | .build/release/xcbeautify | |
ubuntu_x86_64: | |
name: Build on Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: swift-actions/setup-swift@61a116f4030ac34fb5731aab0eff5a0aed94ba29 | |
with: | |
swift-version: ${{ env.SWIFT_VERSION }} | |
- uses: actions/checkout@v4 | |
- run: swift build | |
- run: set -o pipefail && swift test 2>&1 | .build/debug/xcbeautify | |
- run: make package-linux-x86_64 |