Skip to content

Add rule to prefer count(where: { ... }) over filter { ... }.count #432

Add rule to prefer count(where: { ... }) over filter { ... }.count

Add rule to prefer count(where: { ... }) over filter { ... }.count #432

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-package-plugin:
name: Test Package Plugin
runs-on: macos-13
strategy:
fail-fast: false
matrix:
xcode:
- '14.2' # Swift 5.7
- '14.3' # Swift 5.8
- '15.0' # Swift 5.9
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Test Package Plugin
run: bundle exec rake lint:swift
unit-tests:
name: Unit Tests
runs-on: macos-13
strategy:
fail-fast: false
matrix:
xcode:
- '15.0' # Swift 5.9
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Run Unit Tests
run: swift test