Bump to 0.12.0 (#134) #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer" | |
# Limit GITHUB_TOKEN permissions to read-only for repo contents | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: macOS-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: ./Scripts/brew.sh | |
- name: lint | |
run: make lint | |
build: | |
name: Build & Test | |
runs-on: macOS-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: .build | |
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-spm- | |
- name: build | |
run: make build | |
- name: test | |
run: make test_ci | |
- uses: codecov/codecov-action@v2 | |
with: | |
directory: .coverage |