Skip to content

Add progress handling; add Progress.swift to E2E target #4

Add progress handling; add Progress.swift to E2E target

Add progress handling; add Progress.swift to E2E target #4

Workflow file for this run

name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: Build and Test
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Swift
uses: swift-actions/setup-swift@v2
with:
swift-version: '6.2'
- name: Build
run: swift build -v
- name: Run Tests
run: swift test -v
swiftlint:
name: SwiftLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1
swift-format:
name: swift-format
runs-on: ubuntu-latest
container:
image: swift:6.2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install swift-format
run: |
git clone --branch 600.0.0 --depth 1 https://github.com/swiftlang/swift-format.git /tmp/swift-format
cd /tmp/swift-format
swift build -c release
cp /tmp/swift-format/.build/release/swift-format /usr/local/bin/
- name: Run swift-format
run: swift-format lint -r .