Update README.md #92
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
architecture: x64 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
set -eux | |
sudo apt-get install -y protobuf-compiler | |
pip install lintrunner lintrunner-adapters | |
lintrunner init | |
pip install .[dev] -v | |
- name: Run lintrunner | |
run: | | |
set -eux | |
lintrunner --skip PYRE --force-color --all-files | |
- name: Run pyre | |
run: | | |
set -eux | |
pyre check | |
- name: Run Rust Lint | |
run: | | |
set -eux | |
cargo fmt --check |