From d95d4edc43c78db512c642b915a6a39cff87af92 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Wed, 26 Jun 2024 12:37:10 -0400 Subject: [PATCH] Require buf v1.34.0 --- .github/workflows/ci.yaml | 2 +- Makefile | 2 +- README.md | 2 +- action.yml | 2 +- dist/index.js | 2 +- examples/version-input/buf-ci.yaml | 2 +- src/installer.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 31c0630..19a4cce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ permissions: contents: read pull-requests: write env: - BUF_VERSION: "1.33.0" + BUF_VERSION: "1.34.0" jobs: build: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index efe67b8..40512b3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SHELL := bash MAKEFLAGS += --warn-undefined-variables MAKEFLAGS += --no-builtin-rules MAKEFLAGS += --no-print-directory -BUF_VERSION ?= 1.33.0 +BUF_VERSION ?= 1.34.0 UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) diff --git a/README.md b/README.md index 21c2acf..b720b66 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ For reproducible builds, you can pin to an explicit version of `buf` by setting ```yaml - uses: bufbuild/buf-action@v0.1 with: - version: 1.33.0 + version: 1.34.0 ``` If no version is specified in the workflow config, the action will resolve the version in order of precendence: diff --git a/action.yml b/action.yml index 4b5b0ab..905d024 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,7 @@ inputs: Version of the Buf CLI to use. Example: with: - version: 1.33.0 + version: 1.34.0 required: false username: description: |- diff --git a/dist/index.js b/dist/index.js index 0f6bbf6..a653559 100644 --- a/dist/index.js +++ b/dist/index.js @@ -53930,7 +53930,7 @@ var tool_cache = __nccwpck_require__(7784); // requiredVersion is the minimum version of buf required. -const requiredVersion = ">=1.32.0"; +const requiredVersion = ">=1.34.0"; // installBuf installs the buf binary and returns the path to the binary. The // versionInput should be an explicit version of buf. async function installBuf(github, versionInput) { diff --git a/examples/version-input/buf-ci.yaml b/examples/version-input/buf-ci.yaml index fc52abf..85fe63d 100644 --- a/examples/version-input/buf-ci.yaml +++ b/examples/version-input/buf-ci.yaml @@ -12,5 +12,5 @@ jobs: - uses: bufbuild/buf-action@v0.1 with: setup_only: true - version: 1.33.0 + version: 1.34.0 - run: buf version diff --git a/src/installer.ts b/src/installer.ts index c01be4c..8779257 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -20,7 +20,7 @@ import * as semver from "semver"; import { getEnv } from "./inputs"; // requiredVersion is the minimum version of buf required. -const requiredVersion = ">=1.32.0"; +const requiredVersion = ">=1.34.0"; // installBuf installs the buf binary and returns the path to the binary. The // versionInput should be an explicit version of buf.