mirror of
https://github.com/krzysztofzablocki/Sourcery.git
synced 2026-04-07 19:17:40 +00:00
30 lines
701 B
YAML
30 lines
701 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: test macOS
|
|
|
|
on:
|
|
workflow_call:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.ref_type != 'tag' }}
|
|
|
|
jobs:
|
|
macos_build:
|
|
runs-on: macos-14
|
|
steps:
|
|
- name: Set Xcode 15.3.0
|
|
run: sudo xcode-select -s /Applications/Xcode_15.3.0.app/Contents/Developer
|
|
- name: Print Current Xcode
|
|
run: xcode-select -p
|
|
- uses: actions/checkout@v3
|
|
- name: Run tests
|
|
run: swift test
|
|
|
|
|