<commit_before>name: Build

on:
  push:
    branches-ignore:
      - "dependabot/**" # Will still build PRs, but not the branches themself
  pull_request:

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [windows-latest, ubuntu-18.04, macos-latest]

    steps:
      - uses: actions/checkout@v2.3.4
      - name: Fetch all branches and tags
        run: git fetch --unshallow --prune
      - name: Tools caching
        uses: actions/cache@v2
        with:
          path: tools
          key: ${{ matrix.os }}-tools-${{ hashFiles('recipe.cake', 'Cake.Recipe/Content/addins.cake', 'Cake.Recipe/Content/tools.cake', 'Cake.Recipe/Content/modules.cake') }}
      - name: Creating includes.cake file
        run: |
          Get-ChildItem "./Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % {
            "#load `"local:?path=$($_.FullName -replace '\\','/')`""
          } | Out-File "./includes.cake"
        shell: pwsh
      - name: Build Cake.Recipe
        uses: cake-build/cake-action@v1
        with:
          script-path: recipe.cake
          target: CI
          cake-version: 1.1.0
          cake-bootstrap: true<commit_msg>Update actions/cache requirement to v2.1.4<commit_after>name: Build

on:
  push:
    branches-ignore:
      - "dependabot/**" # Will still build PRs, but not the branches themself
  pull_request:

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [windows-latest, ubuntu-18.04, macos-latest]

    steps:
      - uses: actions/checkout@v2.3.4
      - name: Fetch all branches and tags
        run: git fetch --unshallow --prune
      - name: Tools caching
        uses: actions/cache@v2.1.4
        with:
          path: tools
          key: ${{ matrix.os }}-tools-${{ hashFiles('recipe.cake', 'Cake.Recipe/Content/addins.cake', 'Cake.Recipe/Content/tools.cake', 'Cake.Recipe/Content/modules.cake') }}
      - name: Creating includes.cake file
        run: |
          Get-ChildItem "./Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % {
            "#load `"local:?path=$($_.FullName -replace '\\','/')`""
          } | Out-File "./includes.cake"
        shell: pwsh
      - name: Build Cake.Recipe
        uses: cake-build/cake-action@v1
        with:
          script-path: recipe.cake
          target: CI
          cake-version: 1.1.0
          cake-bootstrap: true
{'fraction_non_alphanumeric': 0.14704650188521157, 'fraction_numerical': 0.012149141181399247, 'mean_word_length': 2.0075566750629723, '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': '1655473', 'n_tokens_mistral': 822, 'n_tokens_neox': 781, 'n_words': 173}