Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bufbuild/buf-setup-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.21.0
Choose a base ref
...
head repository: bufbuild/buf-setup-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.22.0
Choose a head ref
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Jun 23, 2023

  1. Release v1.22.0 (#134)

    Release prepared for 1.22.0
    
    Co-authored-by: app-token-buf-buf-setup-action[bot] <app-token-buf-buf-setup-action[bot]@users.noreply.github.com>
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3d89ae0 View commit details
Showing with 14 additions and 14 deletions.
  1. +13 −13 README.md
  2. +1 −1 action.yml
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -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