Skip to content

์˜จ๋ณด๋”ฉ - ๋กœ๊ทธ์ธ ๋””์ž์ธ & ๊ธฐ๋Šฅ ์™„์„ฑ #68

์˜จ๋ณด๋”ฉ - ๋กœ๊ทธ์ธ ๋””์ž์ธ & ๊ธฐ๋Šฅ ์™„์„ฑ

์˜จ๋ณด๋”ฉ - ๋กœ๊ทธ์ธ ๋””์ž์ธ & ๊ธฐ๋Šฅ ์™„์„ฑ #68

Workflow file for this run

name: Check lint
on:
pull_request:
types: [synchronize]
jobs:
SwiftLint:
runs-on: macOS-latest
steps:
- name: ๐Ÿ’ป Check out code
uses: actions/checkout@v3
- name: ๐Ÿ“ฎ Cache SwiftLint
uses: actions/cache@v3
id: cache
with:
path: .swiftlint
key: ${{ runner.os }}-swiftlint-0.52.4
- name: ๐Ÿ—ณ๏ธ Install SwiftLint
if: steps.cache.outputs.cache-hit != 'true'
run: |
mkdir -p .swiftlint
curl -OL "https://github.com/realm/SwiftLint/releases/download/0.52.4/SwiftLint.pkg"
sudo installer -pkg SwiftLint.pkg -target /
cp /usr/local/bin/swiftlint .swiftlint/
- name: ๐Ÿƒโ€โ™‚๏ธ Run SwiftLint
run: .swiftlint/swiftlint