Swift build #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift build | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '**' | |
paths: | |
- '**/*.swift' | |
- '.github/workflows/*.yml' | |
pull_request: | |
paths: | |
- '**/*.swift' | |
- '.github/workflows/*.yml' | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} with ${{ matrix.swift }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
os: [macos-latest] | |
swift: ["5.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- uses: actions/checkout@v4 | |
- name: Resolve packages | |
run: swift package resolve | |
- name: Build Package | |
env: | |
SWIFTPM_ENABLE_PLUGINS: 1 | |
run: swift build -v |