MakeColors/.github/workflows/test.yml
2020-12-30 14:30:21 +01:00

25 lines
511 B
YAML

name: Build and run tests
on:
pull_request:
jobs:
BuildAndTest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Cache Swift packages
uses: actions/cache@v2
with:
path: |
.build/checkouts
.build/repositories
.build/workspace-state.json
key: ${{ runner.os }}-${{ hashFiles('Package.resolved') }}
- name: Build
run: swift build
- name: Run tests
run: swift test