Support BPF object linking #2201
This file contains hidden or 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: apidiff | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| go-apidiff: | |
| name: go-apidiff | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run go-apidiff | |
| id: apidiff | |
| continue-on-error: true | |
| uses: joelanford/go-apidiff@main | |
| - name: Create apidiff.json | |
| run: | | |
| echo '{"id": ${{ github.event.pull_request.number }}, "semver-type": "${{ steps.apidiff.outputs.semver-type }}"}' > apidiff.json | |
| - name: Upload apidiff.json | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: apidiff | |
| path: apidiff.json |