diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 734a650d..da009074 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,6 +24,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install swiftlint + run: brew install swiftlint + - name: Swiftlint run: swiftlint --strict --reporter github-actions-logging diff --git a/Makefile b/Makefile index 1299e6cd..23cc8b6f 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ test-visionos: .PHONY: test-linux test-linux: - docker run --rm -v "$${PWD}:/workspace" -w /workspace $(SWIFT_CONTAINER_IMAGE) /bin/bash -cl "swift build --build-tests -Xswiftc -warnings-as-errors && swift test --skip-build --filter $(TEST_TARGET)" + docker run -i --rm -v "$${PWD}:/workspace" -w /workspace $(SWIFT_CONTAINER_IMAGE) /bin/bash -cl "swift build --build-tests -Xswiftc -warnings-as-errors && swift test --skip-build --filter $(TEST_TARGET)" .PHONY: integration-test integration-test: .check-env-vars