Skip to content

Add CI for Elixir 1.17/OTP 27 #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/latest_conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
strategy:
matrix:
include:
- otp: 24.0
elixir: 1.14.0
- otp: 24.2
elixir: 1.14

env:
MIX_ENV: test
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,8 @@ jobs:
fail-fast: false
matrix:
include:
- otp: 25.0
elixir: 1.16.2
- otp: 25.0
elixir: 1.14.0
lint: true
integration: true
coverage: true
- otp: 25.0
elixir: 1.13.4
- otp: 24.0
elixir: 1.12.3
- otp: 23.3
elixir: 1.11.4
- otp: 23.3
elixir: 1.10.4
- otp: 27.0
elixir: 1.17.0
- otp: 22.3
elixir: 1.9.4

Expand Down Expand Up @@ -136,7 +123,7 @@ jobs:
fail-fast: false
matrix:
otp: [24.2]
elixir: [1.13.1]
elixir: [1.14]

env:
MIX_ENV: test
Expand Down
2 changes: 1 addition & 1 deletion lib/elixirpb.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Elixirpb.FileOptions do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :module_prefix, 1, optional: true, type: :string
end
10 changes: 5 additions & 5 deletions lib/google/protobuf/compiler/plugin.pb.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse.Feature do
@moduledoc false

use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, enum: true, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :FEATURE_NONE, 0
field :FEATURE_PROTO3_OPTIONAL, 1
Expand All @@ -10,7 +10,7 @@ end
defmodule Google.Protobuf.Compiler.Version do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :major, 1, optional: true, type: :int32
field :minor, 2, optional: true, type: :int32
Expand All @@ -21,7 +21,7 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorRequest do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :file_to_generate, 1, repeated: true, type: :string
field :parameter, 2, optional: true, type: :string
Expand All @@ -32,7 +32,7 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse.File do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :name, 1, optional: true, type: :string
field :insertion_point, 2, optional: true, type: :string
Expand All @@ -43,7 +43,7 @@ end
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse do
@moduledoc false

use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"

field :error, 1, optional: true, type: :string
field :supported_features, 2, optional: true, type: :uint64
Expand Down
Loading
Loading