File tree 1 file changed +7
-25
lines changed
1 file changed +7
-25
lines changed Original file line number Diff line number Diff line change 7
7
ERL_AFLAGS : " -enable-feature all"
8
8
9
9
jobs :
10
- detectToolVersions :
11
- name : " Detect Tool Versions"
12
-
13
- runs-on : ubuntu-latest
14
-
15
- outputs :
16
- otpVersion : " ${{ steps.toolVersions.outputs.OTP_VERSION }}"
17
- elixirVersion : " ${{ steps.toolVersions.outputs.ELIXIR_VERSION }}"
18
-
19
- steps :
20
- - uses : actions/checkout@v4
21
- - name : " Read .tool-versions"
22
- id : toolVersions
23
- run : |
24
- OTP_VERSION="$(cat .tool-versions | grep erlang | cut -d' ' -f2-)"
25
- echo OTP: $OTP_VERSION
26
- echo "OTP_VERSION=${OTP_VERSION}" >> $GITHUB_OUTPUT
27
-
28
- ELIXIR_VERSION="$(cat .tool-versions | grep elixir | cut -d' ' -f2-)"
29
- echo Rebar: $ELIXIR_VERSION
30
- echo "ELIXIR_VERSION=${ELIXIR_VERSION}" >> $GITHUB_OUTPUT
31
-
32
10
mix_format :
33
11
name : mix format
34
12
@@ -61,31 +39,35 @@ jobs:
61
39
62
40
runs-on : ubuntu-latest
63
41
64
- needs : ["detectToolVersions"]
65
-
66
42
strategy :
67
43
fail-fast : false
68
44
matrix :
69
45
include :
70
46
- elixir : " 1.15.0"
47
+ otp : " 26.2.5.6"
71
48
unstable : false
72
49
- elixir : " 1.15.8"
50
+ otp : " 26.2.5.6"
73
51
unstable : false
74
52
- elixir : " 1.16.3"
53
+ otp : " 26.2.5.6"
75
54
unstable : false
76
55
- elixir : " 1.17.3"
56
+ otp : " 26.2.5.6"
77
57
unstable : false
78
58
- elixir : " 1.18.0"
59
+ otp : " 27.2"
79
60
unstable : false
80
61
- elixir : " main"
62
+ otp : " 27.2"
81
63
unstable : true
82
64
83
65
steps :
84
66
- uses : actions/checkout@v4
85
67
- uses : erlef/setup-beam@v1
86
68
id : setupBEAM
87
69
with :
88
- otp-version : " ${{ needs.detectToolVersions.outputs.otpVersion }}"
70
+ otp-version : " ${{ matrix.otp }}"
89
71
elixir-version : " ${{ matrix.elixir }}"
90
72
version-type : strict
91
73
- uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments