Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Update build-and-test.yml #5

Update build-and-test.yml

Update build-and-test.yml #5

name: Swift
on:
push:
branches:
- main
- release
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
- release
jobs:
build:
name: Build & Test
runs-on: macos-latest
steps:
- name: Install Swift
uses: slashmo/[email protected]
with:
version: "5.10"
- name: Get swift version
run: swift --version
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test