Skip to content

Post/awards

Post/awards #474

Workflow file for this run

name: Run linting
on:
pull_request:
types: [opened, ready_for_review, synchronize, reopened]
jobs:
pep8:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
steps:
- name: Cancel Previous Runs
if: "!endsWith(github.ref, '/master') && !endsWith(github.ref, '/dev')"
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/[email protected]
- uses: actions/checkout@v4
- name: Linting
uses: chartboost/ruff-action@v1
with:
version: 0.4.10
- name: Formatting Check
uses: chartboost/ruff-action@v1
with:
args: 'format --check'
version: 0.4.10