Skip to content

Refactor setup-gradle tasks (#98) #27

Refactor setup-gradle tasks (#98)

Refactor setup-gradle tasks (#98) #27

Workflow file for this run

name: Swift
on:
push:
branches: [ main ]
paths:
- .github/workflows/swift.yml
- swift/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/swift.yml
- swift/**
permissions:
contents: read
jobs:
build:
runs-on: macos-13
defaults:
run:
working-directory: swift
steps:
- name: Checkout
uses: actions/checkout@v4
# We can use swift-actions/setup-swift@v1 but this is faster
- name: Configure Swift
run: |
sudo xcode-select -s /Applications/Xcode_15.0.app
swift --version
- name: Test
run: swift test
- name: Build
run: swift build