Skip to content

chore(deps): bump github.com/klauspost/compress from 1.18.0 to 1.18.1 #1862

chore(deps): bump github.com/klauspost/compress from 1.18.0 to 1.18.1

chore(deps): bump github.com/klauspost/compress from 1.18.0 to 1.18.1 #1862

Workflow file for this run

name: API Compatibility
on:
merge_group:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
permissions:
contents: read # for actions/checkout to fetch code
env:
# Use the Go toolchain installed by setup-go
GOTOOLCHAIN: local
jobs:
apidiff:
runs-on: ubuntu-latest
if: github.base_ref
steps:
- name: Setup Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: stable
- name: Add GOBIN to PATH
run: echo "$(go env GOPATH)/bin" >>$GITHUB_PATH
- name: Install apidiff cmd
run: go install golang.org/x/exp/cmd/[email protected]
- name: Checkout base code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
ref: ${{ github.base_ref }}
path: "base"
persist-credentials: false
- name: Capture apidiff baseline
run: apidiff -m -w ../baseline.bin .
working-directory: "base"
- name: Checkout updated code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
path: "updated"
persist-credentials: false
- name: Run apidiff check
run: apidiff -m -incompatible ../baseline.bin .
working-directory: "updated"