Change static var to static let constants #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS 11 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1.4.0 | |
with: | |
xcode-version: 13.1 | |
- name: Lint | |
run: | | |
swiftlint --strict | |
- name: Pod lib lint | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec pod lib lint --allow-warnings | |
- name: Swift build & test | |
run: | | |
swift build | |
swift test |