Skip to content

[release-branch.go1.27] pipeline: exclude stage 0 toolchain from Component Governance #3132

[release-branch.go1.27] pipeline: exclude stage 0 toolchain from Component Governance

[release-branch.go1.27] pipeline: exclude stage 0 toolchain from Component Governance #3132

Workflow file for this run

# Copyright (c) Microsoft Corporation.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
name: "Test"
on:
pull_request:
branches: [ microsoft/* ]
# Cancel existing runs if user makes another push.
concurrency:
group: "${{ github.ref }}-${{ github.workflow}}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
cryptobackend:
name: cryptobackend
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: cryptobackend/go.mod
cache-dependency-path: cryptobackend/go.sum
- name: Test cryptobackend
working-directory: cryptobackend
run: go test ./...
eng_util:
name: eng/_util
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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 ./...