Skip to content

Commit

Permalink
ci: add linting to release workflow
Browse files Browse the repository at this point in the history
Lint changed files for simple mistakes like spelling and whitespace
errors

Signed-off-by: Moritz Röhrich <[email protected]>
  • Loading branch information
m-ildefons committed Nov 20, 2023
1 parent 9f6334f commit fe825d6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ on:
- "v*"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v3

- name: Get changed files
id: changed
uses: tj-actions/changed-files@v40

- name: Run pre-commit Linters
uses: pre-commit/[email protected]
with:
extra_args: --files ${{ steps.changed.outputs.all_changed_files }}


# Build the build-environment container, using it's workflow
build-s3gw:
runs-on: self-hosted
Expand Down

0 comments on commit fe825d6

Please sign in to comment.