Skip to content

pipeline: exclude stage 0 toolchain from Component Governance #3131

pipeline: exclude stage 0 toolchain from Component Governance

pipeline: exclude stage 0 toolchain from Component Governance #3131

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.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 ./...