Skip to content

修复lint错误

修复lint错误 #30

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- develop
pull_request:
jobs:
build-and-test:
runs-on: macos-14
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.2'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Cache Swift Package Manager
uses: actions/cache@v4
with:
path: |
~/Library/Developer/Xcode/DerivedData
.build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Install SwiftLint
run: brew install swiftlint
- name: Install dependencies
run: bundle install
- name: Run Fastlane CI lane
env:
CI: true
GITHUB_ACTIONS: true
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 3
run: bundle exec fastlane ci