Skip to content

Merge pull request #73 from epics-extensions/release-2.0.0rc1 #49

Merge pull request #73 from epics-extensions/release-2.0.0rc1

Merge pull request #73 from epics-extensions/release-2.0.0rc1 #49

Workflow file for this run

name: "Ruff lints"
permissions: read-all
on:
push:
branches: [master]
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: |
**.py
- uses: cachix/install-nix-action@v24
- name: "Check Ruff lints"
if: steps.changed-files.outputs.any_changed == 'true'
run: nix run 'nixpkgs#ruff' -- check --output-format=github ${{ steps.changed-files.outputs.all_changed_files }}