Skip to content

Commit

Permalink
Upgrade elixir golang to main project versions (#83)
Browse files Browse the repository at this point in the history
* Sync elixir and go version to main projects

* Update elixir autogenerated files

* Add new elixir depedency version to ci
  • Loading branch information
arbulu89 authored Jan 8, 2025
1 parent 0e1d5de commit 0de5996
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ on:
pull_request:

env:
ELIXIR_VERSION: 1.14.3
OTP_VERSION: 25
ELIXIR_VERSION_OBS: 1.13.4
OTP_VERSION_OBS: 22
ELIXIR_VERSION: 1.15.7
OTP_VERSION: 26

jobs:
elixir-deps:
Expand All @@ -18,6 +16,8 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.15.7
otp: 26
- elixir: 1.14.3
otp: 25
- elixir: 1.13.4
Expand Down
6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
elixir 1.14.3-otp-25
erlang 25.2.2
golang 1.18.1
elixir 1.15.7-otp-26
erlang 26.2.1
golang 1.22.5
protoc 3.20.1
protoc-gen-go 1.28.1
6 changes: 3 additions & 3 deletions elixir/lib/protobuf/cloudevent.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule CloudEvents.CloudEvent.AttributesEntry do
@moduledoc false

use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :key, 1, type: :string
field :value, 2, type: CloudEvents.CloudEventAttributeValue
Expand All @@ -10,7 +10,7 @@ end
defmodule CloudEvents.CloudEvent do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

oneof :data, 0

Expand All @@ -27,7 +27,7 @@ end
defmodule CloudEvents.CloudEventAttributeValue do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

oneof :attr, 0

Expand Down
4 changes: 2 additions & 2 deletions elixir/lib/protobuf/execution_completed.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.Result do
@moduledoc false

use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, enum: true, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :PASSING, 0
field :WARNING, 1
Expand All @@ -11,7 +11,7 @@ end
defmodule Trento.Checks.V1.ExecutionCompleted do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :execution_id, 1, type: :string, json_name: "executionId"
field :group_id, 2, type: :string, json_name: "groupId"
Expand Down
4 changes: 2 additions & 2 deletions elixir/lib/protobuf/execution_requested.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.ExecutionRequested.EnvEntry do
@moduledoc false

use Protobuf, map: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, map: true, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :key, 1, type: :string
field :value, 2, type: Google.Protobuf.Value
Expand All @@ -10,7 +10,7 @@ end
defmodule Trento.Checks.V1.ExecutionRequested do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :execution_id, 1, type: :string, json_name: "executionId"
field :group_id, 2, type: :string, json_name: "groupId"
Expand Down
2 changes: 1 addition & 1 deletion elixir/lib/protobuf/execution_started.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.ExecutionStarted do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :execution_id, 1, type: :string, json_name: "executionId"
field :group_id, 2, type: :string, json_name: "groupId"
Expand Down
6 changes: 3 additions & 3 deletions elixir/lib/protobuf/facts_gathered.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.FactError do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :message, 1, type: :string
field :type, 2, type: :string
Expand All @@ -10,7 +10,7 @@ end
defmodule Trento.Checks.V1.Fact do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

oneof :fact_value, 0

Expand All @@ -23,7 +23,7 @@ end
defmodule Trento.Checks.V1.FactsGathered do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :execution_id, 1, type: :string, json_name: "executionId"
field :group_id, 2, type: :string, json_name: "groupId"
Expand Down
6 changes: 3 additions & 3 deletions elixir/lib/protobuf/facts_gathering_requested.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.FactRequest do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :check_id, 1, type: :string, json_name: "checkId"
field :name, 2, type: :string
Expand All @@ -12,7 +12,7 @@ end
defmodule Trento.Checks.V1.FactsGatheringRequestedTarget do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :agent_id, 1, type: :string, json_name: "agentId"

Expand All @@ -25,7 +25,7 @@ end
defmodule Trento.Checks.V1.FactsGatheringRequested do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :execution_id, 1, type: :string, json_name: "executionId"
field :group_id, 2, type: :string, json_name: "groupId"
Expand Down
2 changes: 1 addition & 1 deletion elixir/lib/protobuf/target.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Trento.Checks.V1.Target do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"

field :agent_id, 1, type: :string, json_name: "agentId"
field :checks, 2, repeated: true, type: :string
Expand Down

0 comments on commit 0de5996

Please sign in to comment.