<commit_before>name: Bit Platform CI
on:
  workflow_dispatch:
  pull_request:
    paths:
    - 'src/**'
jobs:
  build-release:
    if: startsWith(github.event.pull_request.title, 'Prerelease') || startsWith(github.event.pull_request.title, 'Release')
    name: build and test for release
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 7.0.x
        include-prerelease: true

    - name: Install wasm-tools
      run: dotnet workload install wasm-tools
      
    - name: Restore prerelease
      run: dotnet restore src/Bit-CI-release.sln

    - name: MSBuild prerelease
      run: dotnet msbuild src/Bit-CI-release.sln -m:1

    - name: Test
      run: dotnet test --no-build --verbosity normal src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj

  build:
    if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true
    name: build and test
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 7.0.x<commit_msg>feat(github actions): add setup dotnet 6 action to the CI github actions #2979 (#2980)<commit_after>name: Bit Platform CI
on:
  workflow_dispatch:
  pull_request:
    paths:
    - 'src/**'
jobs:
  build-release:
    if: startsWith(github.event.pull_request.title, 'Prerelease') || startsWith(github.event.pull_request.title, 'Release')
    name: build and test for release
    runs-on: windows-latest
    steps:
    - name: Checkout source code
      uses: actions/checkout@v2

    - name: Setup .NET 6.0.x
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 6.0.x

    - name: Setup .NET 7.0.x
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 7.0.x
        include-prerelease: true

    - name: Install wasm-tools
      run: dotnet workload install wasm-tools
      
    - name: Restore prerelease
      run: dotnet restore src/Bit-CI-release.sln

    - name: MSBuild prerelease
      run: dotnet msbuild src/Bit-CI-release.sln -m:1

    - name: Test
      run: dotnet test --no-build --verbosity normal src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj

  build:
    if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true
    name: build and test
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 7.0.x
{'fraction_non_alphanumeric': 0.1140514349608647, 'fraction_numerical': 0.0126723816623183, 'mean_word_length': 2.6172506738544477, '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': '4597700', 'n_tokens_mistral': 937, 'n_tokens_neox': 900, 'n_words': 214}