Lint #3237
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 | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Get system info | |
- run: ifconfig | |
- run: sudo dmidecode | |
- run: df -h | |
- run: free -m | |
- run: echo "GitHub branch is ${{ github.ref }}" | |
# Checks-out your repository under $GITHUB_WORKSPACE, | |
# so your workflow can access it | |
- name: Checkout repo | |
uses: actions/checkout@master | |
# install linting | |
- run: pip3 install autopep8 yamllint pylint | |
# run lint.sh | |
- run: ./lint.sh |