mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-14 10:13:54 +00:00
build: enforce strict checks across taskfile tasks
Inline strict SwiftLint and compiler flags in lint, build, and test tasks. Remove the STRICT configuration and forwarding from validation and CI, and update development documentation.
This commit is contained in:
@@ -107,12 +107,12 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ShadowsocksX-NG2
|
||||
run: task --exit-code validate STRICT=true -- ${{ matrix.gate }}
|
||||
run: task --exit-code validate -- ${{ matrix.gate }}
|
||||
|
||||
- name: Build
|
||||
if: matrix.gate == 'test'
|
||||
working-directory: ShadowsocksX-NG2
|
||||
run: task --exit-code build STRICT=true
|
||||
run: task --exit-code build
|
||||
|
||||
- name: Upload failed test evidence
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user