Skip to content

Enable Swift 6 Mode

Enable Swift 6 Mode #4

Workflow file for this run

# 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: Swift 5
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Swift
run: |
curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash -s -- --disable-confirmation
swiftly install 5.10.1
swiftly use 5.10.1
- name: Build
run: swift build
- name: Run tests
run: swift test