Adds nightly action.

This commit is contained in:
Lukasz Stocki 2022-10-08 10:27:17 +02:00
parent 6d6c5ae7c4
commit f712a4825c
2 changed files with 18 additions and 1 deletions

17
.github/workflows/nightly.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Nightly build and test
on:
schedule:
- cron: '42 0 * * *'
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v

View File

@ -1,4 +1,4 @@
name: Swift
name: Merge or commit
on:
push: