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.2
      - 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

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

Update actions/checkout requirement to v2.3.4
Update actions/checkout requirement to v2.3.4

Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/commits/5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>