feat: server editing #81
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2024 Anass Bouassaba. | |
# | |
# Use of this software is governed by the Business Source License | |
# included in the file LICENSE in the root of this repository. | |
# | |
# As of the Change Date specified in that file, in accordance with | |
# the Business Source License, use of this software will be governed | |
# by the GNU Affero General Public License v3.0 only, included in the file | |
# AGPL-3.0-only in the root of this repository. | |
name: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up SwiftLint | |
run: brew install swiftlint | |
- name: Lint Using SwiftLint | |
run: swiftlint lint --strict . | |
format: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up swift-format | |
run: brew install swift-format | |
- name: Lint Using swift-format | |
run: swift format lint -r . |