[mjlab] Add all 12 native MJLab tasks #3378
This file contains hidden or 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: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version: "1.27" | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Upgrade pip | |
| run: | | |
| python -m pip install --upgrade pip | |
| - name: ruff check | |
| run: | | |
| make ruff | |
| - name: ruff format | |
| run: | | |
| make py-format | |
| - name: cpplint | |
| run: | | |
| make cpplint | |
| - name: clang-format | |
| run: | | |
| make clang-format | |
| - name: buildifier | |
| run: | | |
| make buildifier | |
| - name: addlicense | |
| run: | | |
| make addlicense | |
| - name: mypy | |
| run: | | |
| make mypy | |
| - name: docstyle | |
| run: | | |
| make docstyle | |
| - name: spelling | |
| run: | | |
| make spelling |