mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 06:05:52 -06:00
Update main.yml
This commit is contained in:
parent
bfed1f1316
commit
b05b53705f
1 changed files with 25 additions and 25 deletions
50
.github/workflows/main.yml
vendored
50
.github/workflows/main.yml
vendored
|
|
@ -6,28 +6,28 @@ on:
|
|||
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
|
||||
#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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue