SB operator update. #30
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 Code | |
on: | |
- push | |
- pull_request | |
jobs: | |
check-formatting: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install python3-setuptools | |
sudo pip3 install black | |
sudo snap install node --classic | |
- name: Check Python formatting | |
run: | | |
set -eux | |
black --check . |