Skip to content

refact: doc

refact: doc #270

Workflow file for this run

name: Swift
on:
push:
branches:
- "main"
- "develop"
pull_request:
branches:
- "main"
- "develop"
jobs:
build:
name: Build with Swift ${{ matrix.swift }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
swift: ["6.0"]
steps:
- uses: actions/checkout@v4
- uses: SwiftyLab/setup-swift@a0188eaa95c3af0db72e8697c2f0a91c514da86c
with:
swift-version: ${{ matrix.swift }}
- name: Get Swift version
run: swift --version
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v