Update main.yml

This commit is contained in:
waydabber 2024-10-02 19:06:54 +02:00 committed by GitHub
parent bfed1f1316
commit b05b53705f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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