diff --git a/.github/workflows/Lintly-Flake8.yml b/.github/workflows/Lintly-Flake8.yml deleted file mode 100644 index d1b8f7da..00000000 --- a/.github/workflows/Lintly-Flake8.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: [pull_request] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: grantmcconnaughey/lintly-flake8-github-action@d9db4fd0be9fb1cd19206a48ec0773bd93b82cbd - with: - # The GitHub API token to create reviews with - token: ${{ secrets.GITHUB_TOKEN }} - # Fail if "new" violations detected or "any", default "new" - failIf: new - # Additional arguments to pass to flake8, default "." (current directory) - args: "--config .flake8 fact_extractor" diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 00000000..415c175c --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,11 @@ +name: Ruff +on: [push, pull_request] +jobs: + ruff: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 + with: + version: 0.5.6