jellyflood/.github/workflows/lint.yml

26 lines
469 B
YAML

name: "Lint 🧹"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: "Lint 🧹"
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Run SwiftLint
run: swiftlint --fix
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: "[ci] SwiftLint"
reviewers: "acvigue"