<commit_before>name: Build

on:
  push:
    branches:
    - '*'
  pull_request:
    branches:
    - '*'

# runtime names from https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
jobs:
  ci-build:
    strategy:
      fail-fast: false
      matrix:
        cfg:
        - name: Windows
          os: windows-latest
          target: windows
          runtime: win-x64

        - name: Linux
          os: ubuntu-20.04
          target: linux
          runtime: linux-x64

        - name: Mac
          os: macos-10.15
          target: mac
          runtime: osx-x64


    name: ${{ matrix.cfg.name }} ${{ github.ref }}
    runs-on: ${{ matrix.cfg.os }}
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '2.1.x'
    - name: Nuget Clear
      run: dotnet nuget locals all --clear
    - name: Install dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --configuration Release --no-restore
    - name: Test
      run: dotnet test --no-restore --verbosity normal
    - uses: actions/upload-artifact@v2<commit_msg>Updated dotnet version in build pipeline.<commit_after>name: Build

on:
  push:
    branches:
    - '*'
  pull_request:
    branches:
    - '*'

# runtime names from https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
jobs:
  ci-build:
    strategy:
      fail-fast: false
      matrix:
        cfg:
        - name: Windows
          os: windows-latest
          target: windows
          runtime: win-x64

        - name: Linux
          os: ubuntu-20.04
          target: linux
          runtime: linux-x64

        - name: Mac
          os: macos-10.15
          target: mac
          runtime: osx-x64


    name: ${{ matrix.cfg.name }} ${{ github.ref }}
    runs-on: ${{ matrix.cfg.os }}
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '3.1.x'
    - name: Nuget Clear
      run: dotnet nuget locals all --clear
    - name: Install dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --configuration Release --no-restore
    - name: Test
      run: dotnet test --no-restore --verbosity normal
    - uses: actions/upload-artifact@v2
{'fraction_non_alphanumeric': 0.11359797297297297, 'fraction_numerical': 0.016891891891891893, 'mean_word_length': 1.6768361581920903, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2458520', 'n_tokens_mistral': 787, 'n_tokens_neox': 744, 'n_words': 194}