Project template updates (#25)

* Project template updates

* More changes

* run swiftformat
This commit is contained in:
Adam Fowler
2024-03-08 12:04:49 +00:00
committed by GitHub
parent f5177888f9
commit f029081b61
13 changed files with 50 additions and 68 deletions

View File

@@ -1,20 +1,12 @@
name: Swift nightly build
on:
schedule:
- cron: '0 1 * * 1'
workflow_dispatch:
jobs:
macOS:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: SPM tests
run: swift test
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ['nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']
@@ -23,7 +15,7 @@ jobs:
image: swiftlang/swift:${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test
run: |
swift test --enable-test-discovery
swift test