Skip to content

refactor: More directory layout refactoring #12285

refactor: More directory layout refactoring

refactor: More directory layout refactoring #12285

Workflow file for this run

name: Build and test PR (changed APIs only)
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
strategy:
matrix:
regex: ["'Google\\.Cloud\\.[A-L].*'", "'Google\\.Cloud\\.[M-Z].*'", "'!Google\\.Cloud'"]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 100
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
# The GitHub checkout action leaves the repo in a slightly awkward
# state. This tidies it up.
- name: Set up git branches
run: |
git checkout -b pr-head
git checkout -b main ${{ github.event.pull_request.base.sha }}
git checkout pr-head
- name: Detect CRLF files
run: |
! git ls-files --eol | grep -e i/crlf -e i/mixed
- name: Build and test
run: |
touch build_timing_log.txt
./build.sh --diff --regex ${{ matrix.regex }}
./processbuildtiminglog.sh