mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-02-14 17:49:54 +00:00
Changes to linter and autoformat workflow for development
- drop SwiftLint in favor of swift-format - disable autoformatting in build phase (otherwise we loose history) - add Git pre-commit hook to autoformat before committing
This commit is contained in:
9
.github/workflows/build-app.yml
vendored
9
.github/workflows/build-app.yml
vendored
@@ -17,14 +17,6 @@ defaults:
|
||||
working-directory: OpenHaystack
|
||||
|
||||
jobs:
|
||||
lint-swift:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Run SwiftLint"
|
||||
run: swiftlint --reporter github-actions-logging
|
||||
|
||||
format-swift:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
@@ -48,7 +40,6 @@ jobs:
|
||||
build-app:
|
||||
runs-on: macos-latest
|
||||
needs:
|
||||
- lint-swift
|
||||
- format-swift
|
||||
- format-objc
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user