Skip to content

build&test

build&test #197

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: build&test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
name: swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.8", "5.9"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
swift-version: ${{ matrix.swift }}
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v