[pull] main from hyperledger:main #72
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: Ruff Code Formatter and Linting Check | |
"on": | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Ruff Format and Lint Check | |
uses: chartboost/ruff-action@v1 | |
with: | |
version: 0.5.7 | |
args: "format --check" |