Bump go.uber.org/zap from 1.25.0 to 1.26.0 #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run apidiff | |
on: [ pull_request ] | |
jobs: | |
apidiff: | |
runs-on: ubuntu-latest | |
if: github.base_ref | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.x | |
- name: Add GOBIN to PATH | |
run: echo "PATH=$(go env GOPATH)/bin:$PATH" >>$GITHUB_ENV | |
- name: Install dependencies | |
run: GO111MODULE=off go get golang.org/x/exp/cmd/apidiff | |
- name: Checkout old code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.base_ref }} | |
path: "old" | |
- name: Checkout new code | |
uses: actions/checkout@v4 | |
with: | |
path: "new" | |
- name: APIDiff | |
run: ./_tools/apidiff.sh -d ../old | |
working-directory: "new" |