Skip to content

Commit ffc4b4c

Browse files
committed
feat(ci): apidiff on pull requests
1 parent 8261212 commit ffc4b4c

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/api-diff.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Analyze API Changes
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
analyze:
7+
permissions:
8+
pull-requests: write
9+
contents: read
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout the repository
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Set up Go
18+
uses: ./.github/actions/setup-go
19+
with:
20+
go-version-file: "go.mod"
21+
only-modules: "true"
22+
23+
- uses: imjasonh/apidiff-action@57397487bc4339a1b201a84606a7737459cc5c27 # v0.0.3
24+
with:
25+
fail-on-breaking: false

0 commit comments

Comments
 (0)