Defaults/.github/workflows/main.yml

17 lines
342 B
YAML
Raw Normal View History

2021-01-24 20:50:11 +08:00
name: CI
on:
- push
- pull_request
jobs:
test:
2023-04-25 02:01:15 +08:00
runs-on: macos-13
2021-01-24 20:50:11 +08:00
steps:
2022-09-05 15:05:41 +08:00
- uses: actions/checkout@v3
2023-04-25 02:01:15 +08:00
- run: sudo xcode-select -switch /Applications/Xcode_14.3.app
- 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