diff --git a/README.md b/README.md index 0ef7c0b..185a666 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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1`][version] | +| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.24.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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 - - uses: bufbuild/buf-setup-action@v1.23.1 + # Installs version 1.24.0 + - uses: bufbuild/buf-setup-action@v1.24.0 with: - version: 1.23.1 - # Should output 1.23.1 + version: 1.24.0 + # Should output 1.24.0 - run: buf --version ``` @@ -70,7 +70,7 @@ recommended: ```yaml steps: - uses: actions/checkout@v2 - - uses: bufbuild/buf-setup-action@v1.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 + - uses: bufbuild/buf-setup-action@v1.24.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.23.1 +[version]: https://github.com/bufbuild/buf/releases/tag/v1.24.0 diff --git a/action.yml b/action.yml index c2c9268..7262c1b 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.23.1' + default: '1.24.0' github_token: description: The GitHub token to use when making API requests. required: false