<commit_before>name: package:grpc_cronet CI

on:
  # Run on PRs and pushes to the default branch.
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  schedule:
    - cron: "0 0 * * 0"

env:
  PUB_ENVIRONMENT: bot.github

jobs:
  analyze:
    name: Lint and static analysis
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: .
    steps:
      - uses: actions/checkout@v3
      - uses: subosito/flutter-action@v2
        with:
          channel: 'stable'
          flutter-version: '3.0.2'
      - id: install
        name: Install dependencies
        run: flutter pub get
      - name: Check formatting
        run: flutter format --output=none --set-exit-if-changed .
        if: steps.install.outcome == 'success'
      - name: Analyze code
        run: flutter analyze --fatal-infos
        if: steps.install.outcome == 'success'

  test:
    # package:grpc_cronet is a flutter plugin
    name: "Build and test"
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: example
    steps:
      - uses: actions/checkout@v3
      - uses: subosito/flutter-action@v2
        with:
          channel: 'stable'
          flutter-version: '3.0.2'
      - name: Install dependencies
        run: flutter pub get
      - name: Install ninja
        run: sudo apt-get install ninja-build
      - name: Build Linux executable
        run: flutter build linux<commit_msg>More required packages<commit_after>name: package:grpc_cronet CI

on:
  # Run on PRs and pushes to the default branch.
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  schedule:
    - cron: "0 0 * * 0"

env:
  PUB_ENVIRONMENT: bot.github

jobs:
  analyze:
    name: Lint and static analysis
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: .
    steps:
      - uses: actions/checkout@v3
      - uses: subosito/flutter-action@v2
        with:
          channel: 'stable'
          flutter-version: '3.0.2'
      - id: install
        name: Install dependencies
        run: flutter pub get
      - name: Check formatting
        run: flutter format --output=none --set-exit-if-changed .
        if: steps.install.outcome == 'success'
      - name: Analyze code
        run: flutter analyze --fatal-infos
        if: steps.install.outcome == 'success'

  test:
    # package:grpc_cronet is a flutter plugin
    name: "Build and test"
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: example
    steps:
      - uses: actions/checkout@v3
      - uses: subosito/flutter-action@v2
        with:
          channel: 'stable'
          flutter-version: '3.0.2'
      - name: Install dependencies
        run: flutter pub get
      - name: Install required packages
        run: sudo apt-get install ninja-build gtk+-3.0 glib-2.0 gio-2.0
      - name: Build Linux executable
        run: flutter build linux
{'fraction_non_alphanumeric': 0.09646412633024373, 'fraction_numerical': 0.010985238585650533, 'mean_word_length': 1.9887179487179487, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '907024', 'n_tokens_mistral': 949, 'n_tokens_neox': 928, 'n_words': 261}