Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Jun 27, 2024
1 parent 7191c4d commit 7fc8f76
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v44 # Identify changed files
id: changed_files
- name: Run Ruff only on changes (optional)
run: |
if [[ -n "${{ steps.changed_files.outputs.all_changed_files }}" ]]; then
# Use ruff-action with `--check` flag here
uses: chartboost/ruff-action@v1 with:
args: --check
fi
- uses: chartboost/ruff-action@v1
with:
changed-files: 'true'

0 comments on commit 7fc8f76

Please sign in to comment.