Skip to content

Bump actions/upload-artifact from 6 to 7 #17

Bump actions/upload-artifact from 6 to 7

Bump actions/upload-artifact from 6 to 7 #17

Workflow file for this run

name: Lint code using ruff
on:
push:
permissions:
contents: write
jobs:
linters:
runs-on: ubuntu-latest
if: github.repository == 'cogent3/citeable'
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Format code using ruff
run: uv run nox -s fmt
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: "STY: pre-commit linting with ruff"
add: "."