Skip to content

chore(ci): test with latest go versions, update actions #105

chore(ci): test with latest go versions, update actions

chore(ci): test with latest go versions, update actions #105

Workflow file for this run

---
name: apidiff
on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
compat:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- run: go install golang.org/x/exp/cmd/apidiff@latest
- uses: actions/checkout@v4
with:
ref: master
- run: apidiff -w uuid.baseline .
- uses: actions/checkout@v4
with:
clean: false
- run: |
apidiff -incompatible uuid.baseline . > diff.txt
cat diff.txt && ! [ -s diff.txt ]