mac/compat: fix compatibility for deployment targets lower than SDK ver #7834
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: | |
push: | |
branches: | |
- master | |
- ci | |
- 'release/**' | |
pull_request: | |
branches: [master] | |
jobs: | |
commit-msg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
- name: Lint | |
run: | | |
./ci/lint-commit-msg.py | |
swift-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: norio-nomura/[email protected] | |
lua-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: lunarmodules/luacheck@v1 | |
python-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
editorconfig-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: editorconfig-checker/action-editorconfig-checker@main | |
- run: editorconfig-checker -config .editorconfig-checker.json |