Skip to content

Updated macOS and Xcode versions for linting and tests #3

Updated macOS and Xcode versions for linting and tests

Updated macOS and Xcode versions for linting and tests #3

Workflow file for this run

name: SwiftLint
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: swiftlint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode 26
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
working-directory: JSONParser
run: swiftlint lint --strict --reporter github-actions-logging