Skip to content

CI

CI #29

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- '**.swift'
pull_request:
branches:
- main
paths:
- '**.swift'
workflow_dispatch:
jobs:
# macOS:
# runs-on: macOS-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Build
# run: swift build
linux:
strategy:
matrix:
os: [ubuntu-latest]
swift: ["swift:6.0"]
runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build
run: swift build