From bd74f5890572266eedcacb4afc9af9c94e41b3fe Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 15 May 2024 20:50:17 +0100 Subject: [PATCH] Update lint workflow --- .github/workflows/lint.yml | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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