From 3ba27fa4cdde95bf089fc2d2997158c5f325224e Mon Sep 17 00:00:00 2001 From: Timur Guliamov Date: Tue, 21 Nov 2023 00:53:15 +0300 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..a9ba30e --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +# This workflow will build a Swift project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift + +name: Swift + +on: + push: + branches: [ "dev" ] + pull_request: + branches: [ "dev" ] + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install swift-format + run: brew install swift-format + - name: Lint + run: make lint