Revert "Remove style check"

This reverts commit 6f47fe0eaa.
This commit is contained in:
Donkie
2023-09-03 21:01:08 +02:00
parent 2db9823862
commit 89c588aaaf

View File

@@ -15,6 +15,26 @@ env:
IMAGE_NAME: donkie/spoolman IMAGE_NAME: donkie/spoolman
jobs: jobs:
#
# Linting
#
style:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install pre-commit
run: pip install pre-commit==3.3.3
- name: Run pre-commit
run: pre-commit run --all-files
#
# Build native image for integration tests # Build native image for integration tests
# #
build-amd64: build-amd64:
@@ -201,7 +221,7 @@ jobs:
# #
release: release:
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
needs: [test, build-amd64, build-arm64, build-armv7] needs: [test, build-amd64, build-arm64, build-armv7, style]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout