diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 03a425c..86d2078 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -10,13 +10,16 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + fetch-depth: 0 - name: Install Python - uses: https://github.com/actions/setup-python@v4 + uses: actions/setup-python@v4 with: python-version: '3.12' cache: 'pip' # caching pip dependencies - - name: Install dependencies - run: pip3 install -r requirements.txt \ No newline at end of file + - run: pip install ruff + - run: | + ruff check . + ruff fix . + # - uses: stefanzweifel/git-auto-commit-action@v4 + # with: + # commit_message: 'style fixes by ruff'