Skip to content

Update CI

Update CI #665

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
macos:
runs-on: macos-14
strategy:
matrix:
xcode:
- '16.0'
steps:
- uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: System
run: system_profiler SPHardwareDataType
- name: Build
run: swift build
- name: Run tests
run: swift test
linux:
strategy:
matrix:
os: ubuntu-latest

Check failure on line 33 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 33, Col: 13): Unexpected value 'ubuntu-latest'
swift:
- '6'
runs-on: ${{ matrix.os }}
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test