Skip to content

Made breaking change detector own its own setup and build process #18

Made breaking change detector own its own setup and build process

Made breaking change detector own its own setup and build process #18

name: unit-tests-breaking-change-detector
permissions: read-all
on:
pull_request:
paths:
- 'tools/breaking-change-detector/**'
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.19.1'
- name: Build
run: |
cd tools/breaking-change-detector
make clone OWNER_REPO=hashicorp/terraform-provider-google DEPTH=1
make build OLD_REF=main NEW_REF=main
- name: Test
run: |
cd tools/breaking-change-detector
go test -v ./...