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: pull_request:
branches: [main] branches: [main]
jobs: #jobs:
build: # build:
runs-on: macos-latest # runs-on: macos-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: xcodebuild # - name: xcodebuild
uses: sersoft-gmbh/xcodebuild-action@v3 # uses: sersoft-gmbh/xcodebuild-action@v3
with: # with:
project: MonitorControl.xcodeproj # project: MonitorControl.xcodeproj
scheme: MonitorControl # scheme: MonitorControl
destination: platform=macOS # destination: platform=macOS
action: build # action: build
lint: # lint:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v4 # uses: actions/checkout@v4
#
- name: SwiftLint # - name: SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1 # uses: norio-nomura/action-swiftlint@3.2.1
env: # env:
DIFF_BASE: ${{ github.base_ref }} # DIFF_BASE: ${{ github.base_ref }}
with: # with:
args: --strict # args: --strict