From 3a181ed142dd1a4859337972db606fcd553c5fa9 Mon Sep 17 00:00:00 2001 From: SwiftBeta Date: Thu, 9 Nov 2023 18:30:41 +0100 Subject: [PATCH] Update workflow --- .github/workflows/swift.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 58ba04b..1bc0421 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -11,12 +11,19 @@ on: jobs: build: - runs-on: macos-latest steps: - - uses: actions/checkout@v3 - - name: Build - run: swift build - - name: Run tests - run: swift test \ No newline at end of file + - uses: actions/checkout@v3 + + - name: Install SwiftLint + run: brew install swiftlint + + - name: Run SwiftLint + run: swiftlint + + - name: Build + run: swift build + + - name: Run tests + run: swift test \ No newline at end of file