Skip to content

Commit

Permalink
Update buf version 1.32.2
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed May 30, 2024
1 parent 7fc4a65 commit 10d8644
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MAKEFLAGS += --no-print-directory
BIN := .tmp/bin
COPYRIGHT_YEARS := 2024
LICENSE_IGNORE := -e dist\/
BUF_VERSION ?= 1.32.1
BUF_VERSION ?= 1.32.2

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
Expand Down Expand Up @@ -47,6 +47,7 @@ endif
$(SED_I) "s/version: [0-9]+\.[0-9]+\.[0-9]+/version: $(BUF_VERSION)/g" README.md
$(SED_I) "s/buf-action@v[0-9]+\.[0-9]+\.[0-9]+/buf-action@v$(VERSION)/g" README.md
$(SED_I) "s/buf-action@v[0-9]+\.[0-9]+\.[0-9]+/buf-action@v$(VERSION)/g" examples/*.yaml
$(SED_I) "s/version: [0-9]+\.[0-9]+\.[0-9]+/version: $(BUF_VERSION)/g" examples/*.yaml

.PHONY: generate
generate: $(BIN)/license-header ## Regenerate licenses
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ To ensure the version of `buf` is consistent across workflows it's recommended t
```yaml
- uses: bufbuild/[email protected]
with:
version: 1.32.1
version: 1.32.2
```

If no version is specified in the workflow config, the action will resolve the version in order of precendence:
Expand Down Expand Up @@ -264,9 +264,9 @@ Here's an example migration from using multiple actions to the new consolidated
```yaml
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1.31.0
- uses: bufbuild/buf-setup-action@v1.32.2
with:
version: 1.32.1
version: 1.32.2
buf_user: ${{ secrets.BUF_USERNAME }}
buf_api_token: ${{ secrets.BUF_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
version: 1.32.1
version: 1.32.2
username: ${{ secrets.BUF_USERNAME }}
token: ${{ secrets.BUF_TOKEN }}
```
Expand Down
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inputs:
Version of buf to download and add to the PATH.
Example:
with:
version: 1.32.1
version: 1.32.2
required: false
username:
description: |-
Expand Down Expand Up @@ -186,8 +186,7 @@ inputs:
Whether to run the archive step. Runs by default on deletes.
Additional labels from the "labels" input are archived.
required: false
#default: ${{ github.event_name == 'delete' }}
default: "false" # TODO: enable me when supported.
default: ${{ github.event_name == 'delete' }}
archive_labels:
description: |-
Labels to archive (separated by newlines).
Expand Down
2 changes: 1 addition & 1 deletion examples/version-input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: bufbuild/[email protected]
with:
setup_only: true
version: 1.32.0
version: 1.32.2
- run: buf version

0 comments on commit 10d8644

Please sign in to comment.