Skip to content

Add workflows for all languages #5

Add workflows for all languages

Add workflows for all languages #5

Workflow file for this run

name: Swift
on:
push:
branches:
- master
- main
paths:
- "swift/**.swift"
- ".github/workflows/swift.yml"
pull_request:
paths:
- "swift/**.swift"
- ".github/workflows/swift.yml"
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9"
- name: Check Swift version
run: swift --version
- name: Build
working-directory: swift
run: chmod +x build.sh && ./build.sh