Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tumevoiz committed Sep 10, 2021
1 parent 2c3177a commit 3bf82cf
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/swift-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ on:

jobs:
build:

runs-on: macos-latest

name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.3", "5.4"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- uses: fwal/setup-swift@1.7.0
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@
- name: Build
run: swift build
- name: Run tests
run: swift test

0 comments on commit 3bf82cf

Please sign in to comment.