<commit_before>name: Continuous Integration

env:
  DEVELOPER_DIR: "/Applications/Xcode_12.5.app/Contents/Developer"

on:
  pull_request:
    types: [opened, synchronize, reopened]
  push:
    branches: [main]

jobs:
  xcode-build:
    name: Xcode Build
    runs-on: macos-11
    strategy:
      matrix:

        destination: [
          "platform=macOS",
          "platform=iOS Simulator,name=iPhone 11",
          "platform=tvOS Simulator,name=Apple TV",
          "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm"
        ]

    steps:
    - uses: actions/checkout@v1
    - name: xcrun xcodebuild build
      run: xcrun xcodebuild build -destination "${{ matrix.destination }}" -project "Differ.xcodeproj" -scheme "Differ"

  xcode-test:
    name: Xcode Test
    runs-on: macos-11
    strategy:
      matrix:
        destination: [
          "platform=macOS",
          "platform=iOS Simulator,name=iPhone 11",
          "platform=tvOS Simulator,name=Apple TV"
        ]

    steps:
    - uses: actions/checkout@v1
    - name: xcrun xcodebuild test
      run: |
        xcrun xcodebuild test -destination "${{ matrix.destination }}" -project "Differ.xcodeproj" -scheme "Differ"
        bash <(curl -s https://codecov.io/bash)

  swift-package-manager-test:
    name: Swift Package Manager
    runs-on: macos-11

    steps:
    - uses: actions/checkout@v1
    - name: swift test
      run: swift test

  cocoapods-verify:
    name: CocoaPods
    runs-on: macos-11

    steps:
    - uses: actions/checkout@v1
    - name: Lint CocoaPods specification
      run: pod lib lint
<commit_msg>Update to using the latest default macOS and Xcode toolchain<commit_after>name: Continuous Integration

env:
  DEVELOPER_DIR: "/Applications/Xcode_13.2.1.app/Contents/Developer"

on:
  pull_request:
    types: [opened, synchronize, reopened]
  push:
    branches: [main]

jobs:
  xcode-build:
    name: Xcode Build
    runs-on: macos-11
    strategy:
      matrix:

        destination: [
          "platform=macOS",
          "platform=iOS Simulator,name=iPhone 11",
          "platform=tvOS Simulator,name=Apple TV",
          "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm"
        ]

    steps:
    - uses: actions/checkout@v1
    - name: xcrun xcodebuild build
      run: xcrun xcodebuild build -destination "${{ matrix.destination }}" -project "Differ.xcodeproj" -scheme "Differ"

  xcode-test:
    name: Xcode Test
    runs-on: macos-11
    strategy:
      matrix:
        destination: [
          "platform=macOS",
          "platform=iOS Simulator,name=iPhone 11",
          "platform=tvOS Simulator,name=Apple TV"
        ]

    steps:
    - uses: actions/checkout@v1
    - name: xcrun xcodebuild test
      run: |
        xcrun xcodebuild test -destination "${{ matrix.destination }}" -project "Differ.xcodeproj" -scheme "Differ"
        bash <(curl -s https://codecov.io/bash)

  swift-package-manager-test:
    name: Swift Package Manager
    runs-on: macos-11

    steps:
    - uses: actions/checkout@v1
    - name: swift test
      run: swift test

  cocoapods-verify:
    name: CocoaPods
    runs-on: macos-11

    steps:
    - uses: actions/checkout@v1
    - name: Lint CocoaPods specification
      run: pod lib lint

{'fraction_non_alphanumeric': 0.10680209295167743, 'fraction_numerical': 0.013850415512465374, 'mean_word_length': 2.4537725823591923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1550947', 'n_tokens_mistral': 1147, 'n_tokens_neox': 1074, 'n_words': 257}