diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 774bc57b801..c22cd4f65a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,3 +33,20 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - run: pwsh eng/run.ps1 submodule-refresh -shallow + + eng_util: + name: eng/_util + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + + - name: Setup Go + uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 + with: + go-version-file: eng/_util/go.mod + cache-dependency-path: eng/_util/go.sum + + - name: Test eng/_util + working-directory: eng/_util + run: go test ./... diff --git a/eng/pipeline/pr-outerloop-pipeline.yml b/eng/pipeline/pr-outerloop-pipeline.yml index bdd5747e14f..98d29992b1c 100644 --- a/eng/pipeline/pr-outerloop-pipeline.yml +++ b/eng/pipeline/pr-outerloop-pipeline.yml @@ -15,8 +15,20 @@ pr: # new PR. To make the pipeline run on demand, the pipeline definition must be adjusted using the # AzDO UI to require a comment before running the build. There is unfortunately no way to # configure this from YAML. - - microsoft/* - - dev/* + branches: + include: + - microsoft/* + - dev/* + # Don't validate docs-only PRs. + paths: + exclude: + - CODE_OF_CONDUCT.md + - CONTRIBUTING.md + - README.md + - SECURITY.md + - SUPPORT.md + - docs + - eng/doc variables: - template: variables/pipeline.yml diff --git a/eng/pipeline/pr-pipeline.yml b/eng/pipeline/pr-pipeline.yml index 87c82e4cfb6..6da693bfe86 100644 --- a/eng/pipeline/pr-pipeline.yml +++ b/eng/pipeline/pr-pipeline.yml @@ -8,8 +8,20 @@ trigger: none pr: - - microsoft/* - - dev/* + branches: + include: + - microsoft/* + - dev/* + # Don't validate docs-only PRs. + paths: + exclude: + - CODE_OF_CONDUCT.md + - CONTRIBUTING.md + - README.md + - SECURITY.md + - SUPPORT.md + - docs + - eng/doc variables: - template: variables/pipeline.yml