Skip to content

Update workflow

Update workflow #20

Workflow file for this run

name: main
on:
push:
branches: [ main ]
paths:
- Sources/**
- Tests/**
- Package.swift
- .github/**
workflow_dispatch:
pull_request:
branches: [ main ]
paths:
- Sources/**
- Tests/**
- Package.swift
- .github/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.9"
- name: Build and test
run: swift test