From 3d89ae03696c6ff9978a9b79e72f9a16de514968 Mon Sep 17 00:00:00 2001 From: "app-token-buf-setup-action[bot]" <117299734+app-token-buf-setup-action[bot]@users.noreply.github.com> Date: Fri, 23 Jun 2023 14:57:45 -0400 Subject: [PATCH] Release v1.22.0 (#134) Release prepared for 1.22.0 Co-authored-by: app-token-buf-buf-setup-action[bot] --- README.md | 26 +++++++++++++------------- action.yml | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e07148c..f37cd45 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ steps: # Run `git checkout` - uses: actions/checkout@v2 # Install the `buf` CLI - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 # Ensure that `buf` is installed - run: buf --version ``` @@ -32,7 +32,7 @@ You can configure `buf-setup-action` with these parameters: | Parameter | Description | Default | |:---------------|:---------------------------------------------------|:-------------------| -| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.21.0`][version] | +| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.22.0`][version] | | `github_token` | The GitHub token to use when making API requests | | | `buf_user` | The username to use for logging into Buf Schema registry. | | | `buf_api_token` | The API token to use for logging into Buf Schema registry. | | @@ -47,7 +47,7 @@ If `version` is unspecified, the latest version of `buf` is installed: steps: - uses: actions/checkout@v2 # Installs latest - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 - run: buf --version ``` @@ -56,11 +56,11 @@ Use the `version` parameter to pin to a specific version: ```yaml steps: - uses: actions/checkout@v2 - # Installs version 1.21.0 - - uses: bufbuild/buf-setup-action@v1.21.0 + # Installs version 1.22.0 + - uses: bufbuild/buf-setup-action@v1.22.0 with: - version: 1.21.0 - # Should output 1.21.0 + version: 1.22.0 + # Should output 1.22.0 - run: buf --version ``` @@ -70,7 +70,7 @@ recommended: ```yaml steps: - uses: actions/checkout@v2 - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 with: version: latest - run: buf --version @@ -83,7 +83,7 @@ This may prevent rate limit issues when running on GitHub hosted runners: ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 with: github_token: ${{ github.token }} ``` @@ -95,7 +95,7 @@ you must still pass the token to the action: ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} ``` @@ -106,7 +106,7 @@ If you are using Private [Remote Packages](https://docs.buf.build/bsr/remote-pac ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 with: buf_user: ${{ secrets.buf_user }} buf_api_token: ${{ secrets.buf_api_token }} @@ -163,7 +163,7 @@ steps: # Run `git checkout` - uses: actions/checkout@v2 # Install the `buf` CLI - - uses: bufbuild/buf-setup-action@v1.21.0 + - uses: bufbuild/buf-setup-action@v1.22.0 # Install `protoc` - uses: arduino/setup-protoc@v1 ``` @@ -179,4 +179,4 @@ steps: [compiler]: https://docs.buf.build/build/internal-compiler [protoc]: https://github.com/protocolbuffers/protobuf#protocol-compiler-installation [setup-protoc]: https://github.com/marketplace/actions/setup-protoc -[version]: https://github.com/bufbuild/buf/releases/tag/v1.21.0 +[version]: https://github.com/bufbuild/buf/releases/tag/v1.22.0 diff --git a/action.yml b/action.yml index 31f0ace..2e7329a 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: version: description: The version of buf to set up. required: false - default: '1.21.0' + default: '1.22.0' github_token: description: The GitHub token to use when making API requests. required: false