<commit_before>on:
  push:
    branches: "*"
  pull_request:
    branches: "*"

jobs:
  test:
    name: Run tests

    runs-on: ubuntu-latest

    steps:
    - name: Install mono
      run: sudo apt-get install mono-complete

    - name: Checkout $GITHUB_SHA from $GITHUB_REF
      uses: actions/checkout@v2

    - name: Restore NuGet packages
      run: nuget restore Duplicati.sln<commit_msg>Add steps to build projects and solutions.<commit_after>on:
  push:
    branches: "*"
  pull_request:
    branches: "*"

jobs:
  test:
    name: Run tests

    runs-on: ubuntu-latest

    steps:
    - name: Install mono
      run: sudo apt-get install mono-complete

    - name: Checkout $GITHUB_SHA from $GITHUB_REF
      uses: actions/checkout@v2

    - name: Build AutoUpdateBuilder
      run: |
        nuget restore BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln
        msbuild -p:Configuration=Release BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.sln

    - name: Build DependencyFinder
      run: |
        nuget restore BuildTools/DependencyFinder/DependencyFinder.sln
        msbuild -p:Configuration=Release BuildTools/DependencyFinder/DependencyFinder.sln

    - name: Build GnupgSigningTool
      run: |
        nuget restore BuildTools/GnupgSigningTool/GnupgSigningTool.sln
        msbuild -p:Configuration=Release BuildTools/GnupgSigningTool/GnupgSigningTool.sln

    - name: Build UpdateVersionStamp
      run: |
        nuget restore BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln
        msbuild -p:Configuration=Release BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln

    - name: Build Duplicati
      run: |
        nuget restore Duplicati.sln
        msbuild -p:Configuration=Release -p:DefineConstants=ENABLE_GTK Duplicati.sln

{'fraction_non_alphanumeric': 0.07666098807495741, 'fraction_numerical': 0.001135718341851221, 'mean_word_length': 3.0045454545454544, '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': '5502929', 'n_tokens_mistral': 572, 'n_tokens_neox': 550, 'n_words': 120}