diff options
author | Christian Cleberg <hello@cleberg.net> | 2025-04-05 13:38:12 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2025-04-05 13:38:12 -0500 |
commit | 82bfe7bfffc9344fba7c341615702d080f54e439 (patch) | |
tree | 4f28c5a708c699013deb8bd9c34df91a0056a4b3 | |
parent | c8617ce8aecb40ccf1d13c02dcd7d7e74e79b56b (diff) | |
download | yoshi-cli-82bfe7bfffc9344fba7c341615702d080f54e439.tar.gz yoshi-cli-82bfe7bfffc9344fba7c341615702d080f54e439.tar.bz2 yoshi-cli-82bfe7bfffc9344fba7c341615702d080f54e439.zip |
rename pylint.yml to ruff.yml
-rw-r--r-- | .github/workflows/ruff.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..caef813 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,37 @@ +name: Pylint + +on: + push: + paths: + - '**.py' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.x"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + ref: ${{ github.event.pull_request.head.ref }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install cryptography prettytable + - name: Install Ruff + uses: astral-sh/ruff-action@v3.2.2 + - name: Ruff Actions + run: | + ruff check --fix + ruff format + - name: Add and Commit + uses: EndBug/add-and-commit@v9 + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + default_author: github_actions + pathspec_error_handling: ignore
\ No newline at end of file |