[WIP] A test case to show how to use DeviceMesh API to create the customized PG #55
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-20.04 | |
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 .[dev] -v | |
- name: Run Python Lint | |
run: | | |
set -eux | |
black --check . | |
- name: Run Rust Lint | |
run: | | |
set -eux | |
cargo fmt --check |