Skip to content

Moya Network ๋ชจ๋“ˆ ์„ธํŒ… #8

Moya Network ๋ชจ๋“ˆ ์„ธํŒ…

Moya Network ๋ชจ๋“ˆ ์„ธํŒ… #8

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