We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e0a79 commit 6de9590Copy full SHA for 6de9590
.github/workflows/api-diff.yml
@@ -0,0 +1,31 @@
1
+name: Analyze API Changes
2
+description: Runs apidiff-go action to check for breaking changes to modules' public APIs
3
+
4
+on:
5
+ pull_request:
6
7
+jobs:
8
+ root-module:
9
+ name: Root Module
10
+ permissions:
11
+ pull-requests: write
12
+ contents: read
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout the repository
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ - name: Set up Go
21
+ uses: actions/setup-go@v5
22
23
+ go-version-file: "go.mod"
24
+ cache: false
25
26
+ - uses: smartcontractkit/.github/actions/apidiff-go@apidiff-go/0.1.0
27
+ env:
28
+ GITHUB_TOKEN: ${{ github.token }}
29
30
+ go-mod-paths: "./"
31
+ enforce-compatible: "false" # dont fail on breaking changes
0 commit comments