[docs] detail how to add Automerge-swift as a dependency (#81) #285
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
name: test | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: macos-latest | |
env: | |
LOCAL_BUILD: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.66.0 | |
default: true | |
- name: build xcframework | |
run: ./scripts/build-xcframework.sh | |
- name: Swift tests | |
run: swift test | |
rustfmt: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.66.0 | |
default: true | |
components: rustfmt | |
- name: Clippy | |
run: ./scripts/ci/rustfmt.sh | |
clippy: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.66.0 | |
default: true | |
components: clippy | |
- name: Clippy | |
run: ./scripts/ci/clippy.sh |