Skip to content

Release 2.0.0 beta.5 #51

Release 2.0.0 beta.5

Release 2.0.0 beta.5 #51

Workflow file for this run

name: "CI"
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
env:
LC_CTYPE: en_US.UTF-8
LANG: en_US.UTF-8
RUBY_VERSION: 3.1.x
SKIP_SWIFTLINT: YES
jobs:
macOS:
name: macOS
runs-on: macOS-latest
env:
SWIFTLINT_VERSION: 0.52.2
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Bundler
run: |
gem install bundler
bundle install --without=documentation
- name: Swift
uses: fwal/setup-swift@v1
- name: Preparation
run: set -o pipefail
- name: Build
run: make build
- name: Test
run: make test
- name: Test Demo
run: make test_demo
- name: Danger
continue-on-error: true
run: bundle exec danger --remove-previous-comments
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Bundler
run: |
gem install bundler
bundle install --without=documentation
- name: Swift
uses: fwal/setup-swift@v1
- name: Preparation
run: set -o pipefail
- name: Build
run: make build
- name: Test
run: make test
CocoaPods:
name: CocoaPods
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Bundler
run: |
gem install bundler
bundle install --without=documentation
- name: Spec Lint
continue-on-error: true
run: bundle exec pod spec lint
- name: Lib Lint
run: bundle exec pod lib lint --skip-tests --allow-warnings --verbose