Skip to content

Commit

Permalink
Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#220)
Browse files Browse the repository at this point in the history
Bumps
[bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action)
from 1.32.2 to 1.33.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/bufbuild/buf-setup-action/releases">bufbuild/buf-setup-action's
releases</a>.</em></p>
<blockquote>
<h2>v1.33.0</h2>
<p>Release v1.33.0</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/bufbuild/buf-setup-action/commit/59e8ac0671772e5ffef08a41b3aec11d39fc1165"><code>59e8ac0</code></a>
Release v1.33.0 (<a
href="https://redirect.github.com/bufbuild/buf-setup-action/issues/212">#212</a>)</li>
<li>See full diff in <a
href="https://github.com/bufbuild/buf-setup-action/compare/v1.32.2...v1.33.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bufbuild/buf-setup-action&package-manager=github_actions&previous-version=1.32.2&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Roche <[email protected]>
  • Loading branch information
dependabot[bot] and rodaine authored Jun 17, 2024
1 parent 3df0ef4 commit 919cc2f
Show file tree
Hide file tree
Showing 18 changed files with 601 additions and 601 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
go-version: stable
cache-dependency-path: go.work.sum
- name: Install buf
uses: bufbuild/buf-setup-action@v1.32.2
uses: bufbuild/buf-setup-action@v1.33.0
with:
github_token: ${{ github.token }}
- name: Buf format
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_to

rules_buf_dependencies()

rules_buf_toolchains(version = "v1.28.0")
rules_buf_toolchains(version = "v1.33.0")

load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ message BytesMaxLen {
}
message BytesMinMaxLen {
bytes val = 1 [(buf.validate.field).bytes = {
min_len: 3,
min_len: 3
max_len: 5
}];
}
message BytesEqualMinMaxLen {
bytes val = 1 [(buf.validate.field).bytes = {
min_len: 5,
min_len: 5
max_len: 5
}];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ message NoExpressions {
// A message with message-level custom expressions
message MessageExpressions {
option (message).cel = {
id: "message_expression_scalar",
message: "a must be less than b",
id: "message_expression_scalar"
message: "a must be less than b"
expression: "this.a < this.b"
};
option (message).cel = {
id: "message_expression_enum",
message: "c must not equal d",
expression: "this.c != this.d",
id: "message_expression_enum"
message: "c must not equal d"
expression: "this.c != this.d"
};
option (message).cel = {
id: "message_expression_embed",
message: "e.a must equal f.a",
id: "message_expression_embed"
message: "e.a must equal f.a"
expression: "this.e.a == this.f.a"
};

Expand All @@ -59,7 +59,7 @@ message MessageExpressions {

message Nested {
option (message).cel = {
id: "message_expression_nested",
id: "message_expression_nested"
expression:
"this.a > this.b ? ''"
": 'a must be greater than b'"
Expand All @@ -72,66 +72,66 @@ message MessageExpressions {

message FieldExpressions {
int32 a = 1 [(field).cel = {
id: "field_expression_scalar",
id: "field_expression_scalar"
expression:
"this > 42 ? ''"
": 'a must be greater than 42'",
": 'a must be greater than 42'"
}];
Enum b = 2 [(field).cel = {
id: "field_expression_enum",
message: "b must be ~ONE",
expression: "this == 1",
id: "field_expression_enum"
message: "b must be ~ONE"
expression: "this == 1"
}];
Nested c = 3 [(field).cel = {
id: "field_expression_embed",
message: "c.a must be a multiple of 4",
expression: "this.a % 4 == 0",
id: "field_expression_embed"
message: "c.a must be a multiple of 4"
expression: "this.a % 4 == 0"
}];

message Nested {
int32 a = 1 [(field).cel = {
id: "field_expression_nested"
expression:
"this > 0 ? ''"
": 'a must be positive'",
": 'a must be positive'"
}];
}
}

message MissingField {
option (message).cel = {
id: "missing_field",
message: "b must be positive",
expression: "this.b > 0",
id: "missing_field"
message: "b must be positive"
expression: "this.b > 0"
};

int32 a = 1;
}

message IncorrectType {
option (message).cel = {
id: "incorrect_type",
message: "a must start with 'foo'",
expression: "this.a.startsWith('foo')",
id: "incorrect_type"
message: "a must start with 'foo'"
expression: "this.a.startsWith('foo')"
};

int32 a = 1;
}

message DynRuntimeError {
option (message).cel = {
id: "dyn_runtime_err",
message: "dynamic type tries to use a non-existent field",
expression: "dyn(this).b == 'foo'",
id: "dyn_runtime_err"
message: "dynamic type tries to use a non-existent field"
expression: "dyn(this).b == 'foo'"
};

int32 a = 1;
}

message NowEqualsNow {
option (message).cel = {
id: "now_equals_now",
message: "now should equal now within an expression",
expression: "now == now",
id: "now_equals_now"
message: "now should equal now within an expression"
expression: "now == now"
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ message IgnoreEmptyProto2Message {
optional Msg val = 1 [
(buf.validate.field).ignore_empty = true,
(buf.validate.field).cel = {
id: "ignore_empty.proto2.message",
message: "foobar",
expression: "this.val == 'foo'",
id: "ignore_empty.proto2.message"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ message IgnoreEmptyProto3Message {
optional Msg val = 1 [
(buf.validate.field).ignore_empty = true,
(buf.validate.field).cel = {
id: "ignore_empty.proto3.message",
message: "foobar",
expression: "this.val == 'foo'",
id: "ignore_empty.proto3.message"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand Down Expand Up @@ -71,20 +71,20 @@ message IgnoreEmptyProto3Map {

message IgnoreEmptyRepeatedItems {
repeated int32 val = 1 [(buf.validate.field).repeated.items = {
ignore_empty: true,
int32: {gt: 0},
ignore_empty: true
int32: {gt: 0}
}];
}

message IgnoreEmptyMapPairs {
map<string, int32> val = 1 [
(buf.validate.field).map.keys = {
ignore_empty: true,
string: {min_len: 3},
ignore_empty: true
string: {min_len: 3}
},
(buf.validate.field).map.values = {
ignore_empty: true,
int32: {gt: 0},
ignore_empty: true
int32: {gt: 0}
}
];
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ message Proto2ScalarRequiredIgnoreDefaultWithDefault {

message Proto2MessageOptionalIgnoreUnspecified {
optional Msg val = 1 [(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}];
message Msg {
optional string val = 1;
Expand All @@ -115,9 +115,9 @@ message Proto2MessageOptionalIgnoreEmpty {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED,
(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -129,9 +129,9 @@ message Proto2MessageOptionalIgnoreDefault {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -141,9 +141,9 @@ message Proto2MessageOptionalIgnoreDefault {

message Proto2MessageRequiredIgnoreUnspecified {
required Msg val = 1 [(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}];
message Msg {
optional string val = 1;
Expand All @@ -154,9 +154,9 @@ message Proto2MessageRequiredIgnoreEmpty {
required Msg val = 1 [
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED,
(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -168,9 +168,9 @@ message Proto2MessageRequiredIgnoreDefault {
required Msg val = 1 [
(buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
(buf.validate.field).cel = {
id: "proto2.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto2.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ message Proto3ScalarIgnoreDefault {

message Proto3MessageOptionalIgnoreUnspecified {
optional Msg val = 1 [(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}];
message Msg {
optional string val = 1;
Expand All @@ -69,9 +69,9 @@ message Proto3MessageOptionalIgnoreEmpty {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -83,9 +83,9 @@ message Proto3MessageOptionalIgnoreDefault {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -95,9 +95,9 @@ message Proto3MessageOptionalIgnoreDefault {

message Proto3MessageIgnoreUnspecified {
Msg val = 1 [(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}];
message Msg {
optional string val = 1;
Expand All @@ -108,9 +108,9 @@ message Proto3MessageIgnoreEmpty {
Msg val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand All @@ -122,9 +122,9 @@ message Proto3MessageIgnoreDefault {
Msg val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
id: "proto3.message.ignore.empty"
message: "foobar"
expression: "this.val == 'foo'"
}
];
message Msg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ message ComplexTestMsg {
in: ["type.googleapis.com/google.protobuf.Duration"]
}];
repeated google.protobuf.Timestamp rep_ts_val = 13 [(buf.validate.field).repeated = {
items {
timestamp {
gte {nanos: 1000000}
items: {
timestamp: {
gte: {nanos: 1000000}
}
}
}];
Expand Down
Loading

0 comments on commit 919cc2f

Please sign in to comment.