Skip to content

build(deps): bump the docs group in /docs with 5 updates #1082

build(deps): bump the docs group in /docs with 5 updates

build(deps): bump the docs group in /docs with 5 updates #1082

Workflow file for this run

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@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
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@v4
with:
name: apidiff
path: apidiff.json