Skip to content

Add linting CLI

Add linting CLI #2

Workflow file for this run

name: Reformat PR code
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- master
jobs:
reformat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: "3.11"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: Reformat
run: python -m nox -s reformat bot-package-diff
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: gogo.patch
path: gogo.patch
- name: Check diff file
run: python -m nox -s is-diff-file-empty