Skip to content

Commit

Permalink
dfasdfasd
Browse files Browse the repository at this point in the history
  • Loading branch information
pacu committed Nov 30, 2023
1 parent f619016 commit 90c3c27
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,21 @@ on:
pull_request:
branches: [ "main" ]


jobs:
build:

runs-on: macos-13

name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.8", "5.9"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9"
- name: Get swift version
run: swift --version # Swift 5.9
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test

0 comments on commit 90c3c27

Please sign in to comment.