mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
33 lines
668 B
YAML
33 lines
668 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: xcodebuild
|
|
uses: sersoft-gmbh/xcodebuild-action@v3
|
|
with:
|
|
project: MonitorControl.xcodeproj
|
|
scheme: MonitorControl
|
|
destination: platform=macOS
|
|
action: build
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: SwiftLint
|
|
uses: norio-nomura/action-swiftlint@3.2.1
|
|
env:
|
|
DIFF_BASE: ${{ github.base_ref }}
|
|
with:
|
|
args: --strict
|