ci: fix the 32 byte inaccuracy of SDK size reports #2316
Workflow file for this run
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: 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 |