Skip to content

๋„คํŠธ์›Œํฌ ๋งค๋‹ˆ์ € ๋ฆฌํŒฉํ† ๋ง #70

๋„คํŠธ์›Œํฌ ๋งค๋‹ˆ์ € ๋ฆฌํŒฉํ† ๋ง

๋„คํŠธ์›Œํฌ ๋งค๋‹ˆ์ € ๋ฆฌํŒฉํ† ๋ง #70

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