Skip to content

Correct activesupport usage (#1371) #172

Correct activesupport usage (#1371)

Correct activesupport usage (#1371) #172

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: ['*']
jobs:
danger_and_rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Rubocop
run: |
bundle exec rake rubocop
- name: Danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
bundle exec danger --verbose
spec:
runs-on: macos-13
continue-on-error: true
strategy:
matrix:
spec: ["objc_spec", "swift_spec", "cocoapods_spec"]
env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Cache cocoapods
uses: actions/cache@v3
env:
cache-name: cocoapods
with:
path: ~/.cocoapods
key: ${{ matrix.spec }}-${{ env.cache-name }}
- name: Test
run: |
bundle exec rake ${{ matrix.spec }}