Files
starter-workflows/ci/swift.yml
T
Sampark Sharma 94ce363109 Update ci/swift.yml
Co-authored-by: Scott Brenner <scott@scottbrenner.me>
2022-10-18 18:19:20 +05:30

23 lines
449 B
YAML

# 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: Swift
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v