From cd2c38d246de9e0e72cebf2efd16c857347239e6 Mon Sep 17 00:00:00 2001 From: Joe Lanford Date: Wed, 30 Aug 2023 11:55:20 -0400 Subject: [PATCH] add go-apidiff action (#151) Signed-off-by: Joe Lanford --- .github/workflows/go-apidiff.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/go-apidiff.yaml diff --git a/.github/workflows/go-apidiff.yaml b/.github/workflows/go-apidiff.yaml new file mode 100644 index 00000000..1d6be5f6 --- /dev/null +++ b/.github/workflows/go-apidiff.yaml @@ -0,0 +1,20 @@ +name: go-apidiff + +on: + pull_request: + +jobs: + go-apidiff: + runs-on: ubuntu-latest + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: "go.mod" + id: go + - name: Run go-apidiff + uses: joelanford/go-apidiff@main