From be68946dcb113eaea4ff326016e21d119555fbf8 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 19 Jan 2024 15:04:08 -0500 Subject: [PATCH] Add Gitea action to check ruff linting/formatting --- .gitea/workflows/ruff.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitea/workflows/ruff.yml diff --git a/.gitea/workflows/ruff.yml b/.gitea/workflows/ruff.yml new file mode 100644 index 0000000..4051655 --- /dev/null +++ b/.gitea/workflows/ruff.yml @@ -0,0 +1,12 @@ +name: Ruff +on: [ push, pull_request ] +jobs: + ruff: + runs-on: ubuntu-latest + container: catthehacker/ubuntu:act-latest + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 + - uses: chartboost/ruff-action@v1 + with: + args: format --check --diff