Defaults/.github/workflows/main.yml

16 lines
274 B
YAML
Raw Normal View History

2021-01-24 20:50:11 +08:00
name: CI
on:
- push
- pull_request
jobs:
test:
2022-09-05 15:05:41 +08:00
runs-on: macos-12
2021-01-24 20:50:11 +08:00
steps:
2022-09-05 15:05:41 +08:00
- uses: actions/checkout@v3
- run: swift test
2021-01-24 20:50:11 +08:00
lint:
runs-on: ubuntu-latest
steps:
2022-09-05 15:05:41 +08:00
- uses: actions/checkout@v3
2021-01-24 20:50:11 +08:00
- uses: norio-nomura/action-swiftlint@3.2.1