Skip to content

Workflow file for this run

name: "Lint"
run-name: Linting
on:
push: # pull_request
paths:
- '.github/workflows/swiftlint.yml'
- '.swiftlint.yml'
- '**/*.swift'
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/action-swiftlint
# lint:
# runs-on: macos-14
# steps:
# - name: Print job info
# run: |
# echo "The job was triggered by a ${{ github.event_name }} event and is now running on a ${{ runner.os }} server."
# echo "The repository is ${{ github.repository }} and the branch is ${{ github.ref }}."
# echo "Available XCode versions:"
# sudo ls -1 /Applications | grep "Xcode"
# echo "Selected XCode version:"
# /usr/bin/xcodebuild -version
# - name: Check out repository code
# uses: actions/checkout@v4
# - name: Install SwiftLint
# run: |
# bundle install
# cd Example
# bundle exec pod install
# - name: Run SwitLint
# run: |
# cd Example
# ./Pods/SwiftLint/swiftlint