Skip to content

Commit bb45580

Browse files
authored
Require buf v1.34.0 (#38)
Set the min supported version of buf to v1.34.0. This pulls in the required change bufbuild/buf#3103 for better compatibility with different environments.
1 parent e4ccf70 commit bb45580

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
contents: read
99
pull-requests: write
1010
env:
11-
BUF_VERSION: "1.33.0"
11+
BUF_VERSION: "1.34.0"
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SHELL := bash
66
MAKEFLAGS += --warn-undefined-variables
77
MAKEFLAGS += --no-builtin-rules
88
MAKEFLAGS += --no-print-directory
9-
BUF_VERSION ?= 1.33.0
9+
BUF_VERSION ?= 1.34.0
1010

1111
UNAME_S := $(shell uname -s)
1212
ifeq ($(UNAME_S),Darwin)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For reproducible builds, you can pin to an explicit version of `buf` by setting
7474
```yaml
7575
- uses: bufbuild/[email protected]
7676
with:
77-
version: 1.33.0
77+
version: 1.34.0
7878
```
7979

8080
If no version is specified in the workflow config, the action will resolve the version in order of precendence:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
Version of the Buf CLI to use.
2828
Example:
2929
with:
30-
version: 1.33.0
30+
version: 1.34.0
3131
required: false
3232
username:
3333
description: |-

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53930,7 +53930,7 @@ var tool_cache = __nccwpck_require__(7784);
5393053930

5393153931

5393253932
// requiredVersion is the minimum version of buf required.
53933-
const requiredVersion = ">=1.32.0";
53933+
const requiredVersion = ">=1.34.0";
5393453934
// installBuf installs the buf binary and returns the path to the binary. The
5393553935
// versionInput should be an explicit version of buf.
5393653936
async function installBuf(github, versionInput) {

examples/version-input/buf-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: bufbuild/[email protected]
1313
with:
1414
setup_only: true
15-
version: 1.33.0
15+
version: 1.34.0
1616
- run: buf version

src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as semver from "semver";
2020
import { getEnv } from "./inputs";
2121

2222
// requiredVersion is the minimum version of buf required.
23-
const requiredVersion = ">=1.32.0";
23+
const requiredVersion = ">=1.34.0";
2424

2525
// installBuf installs the buf binary and returns the path to the binary. The
2626
// versionInput should be an explicit version of buf.

0 commit comments

Comments
 (0)