Skip to content

Commit

Permalink
ci: build for swift 5.9...6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alephao committed Sep 19, 2024
1 parent 6a9a011 commit 09314f8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- main
paths:
- '**.yml'
- '**.swift'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-ci
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
image: ["swift:5.9", "swift:5.10", "swift:6.0"]

container:
image: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
swift build

0 comments on commit 09314f8

Please # to comment.