Skip to content

ci: fix main branch sample app caching #2359

ci: fix main branch sample app caching

ci: fix main branch sample app caching #2359

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
assert-formatted:
name: Assert that code has been linted and formatted before merging
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install binny to run lint tools
run: |
curl -L --output binny https://github.com/customerio/binny/releases/download/latest/binny-macos-x86_64
chmod +x binny
- name: Run swiftformat. Fail if any errors.
run: make format && git diff --exit-code
- name: Run swiftlint. Fail if any errors.
run: make lint