Add default_label_name
to JSON output of buf registry module info
…
#9757
This file contains 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: previous | |
on: push | |
# Prevent writing to the repository using the CI token. | |
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions | |
permissions: read-all | |
env: | |
MAKEFLAGS: "-j 2" | |
jobs: | |
test-previous: | |
strategy: | |
matrix: | |
go-version: ['1.22.x'] | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup-go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/buf/${{ runner.os }}/x86_64/bin | |
~/.cache/buf/${{ runner.os }}/x86_64/go/pkg/mod | |
~/.cache/buf/${{ runner.os }}/x86_64/gocache | |
~/.cache/buf/${{ runner.os }}/x86_64/include | |
~/.cache/buf/${{ runner.os }}/x86_64/versions | |
key: ${{ runner.os }}-${{ matrix.go-version }}-buf-${{ hashFiles('**/go.sum', 'make/**') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.go-version }}-buf- | |
- name: make-test | |
run: make test |