Skip to content

Commit e0920e3

Browse files
authored
Add CI for Elixir 1.17/OTP 27 (#372)
1 parent e122483 commit e0920e3

File tree

7 files changed

+48
-61
lines changed

7 files changed

+48
-61
lines changed

.github/workflows/latest_conformance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
strategy:
2020
matrix:
2121
include:
22-
- otp: 24.0
23-
elixir: 1.14.0
22+
- otp: 24.2
23+
elixir: 1.14
2424

2525
env:
2626
MIX_ENV: test

.github/workflows/main.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,8 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- otp: 25.0
19-
elixir: 1.16.2
20-
- otp: 25.0
21-
elixir: 1.14.0
22-
lint: true
23-
integration: true
24-
coverage: true
25-
- otp: 25.0
26-
elixir: 1.13.4
27-
- otp: 24.0
28-
elixir: 1.12.3
29-
- otp: 23.3
30-
elixir: 1.11.4
31-
- otp: 23.3
32-
elixir: 1.10.4
18+
- otp: 27.0
19+
elixir: 1.17.0
3320
- otp: 22.3
3421
elixir: 1.9.4
3522

@@ -136,7 +123,7 @@ jobs:
136123
fail-fast: false
137124
matrix:
138125
otp: [24.2]
139-
elixir: [1.13.1]
126+
elixir: [1.14]
140127

141128
env:
142129
MIX_ENV: test

lib/elixirpb.pb.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Elixirpb.FileOptions do
22
@moduledoc false
33

4-
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
4+
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
55

66
field :module_prefix, 1, optional: true, type: :string
77
end

lib/google/protobuf/compiler/plugin.pb.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse.Feature do
22
@moduledoc false
33

4-
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
4+
use Protobuf, enum: true, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
55

66
field :FEATURE_NONE, 0
77
field :FEATURE_PROTO3_OPTIONAL, 1
@@ -10,7 +10,7 @@ end
1010
defmodule Google.Protobuf.Compiler.Version do
1111
@moduledoc false
1212

13-
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
13+
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
1414

1515
field :major, 1, optional: true, type: :int32
1616
field :minor, 2, optional: true, type: :int32
@@ -21,7 +21,7 @@ end
2121
defmodule Google.Protobuf.Compiler.CodeGeneratorRequest do
2222
@moduledoc false
2323

24-
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
24+
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
2525

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

35-
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
35+
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
3636

3737
field :name, 1, optional: true, type: :string
3838
field :insertion_point, 2, optional: true, type: :string
@@ -43,7 +43,7 @@ end
4343
defmodule Google.Protobuf.Compiler.CodeGeneratorResponse do
4444
@moduledoc false
4545

46-
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto2
46+
use Protobuf, syntax: :proto2, protoc_gen_elixir_version: "0.12.0"
4747

4848
field :error, 1, optional: true, type: :string
4949
field :supported_features, 2, optional: true, type: :uint64

0 commit comments

Comments
 (0)