Commit ccacb4b 1 parent 3d5dab2 commit ccacb4b Copy full SHA for ccacb4b
File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
Test :
11
11
runs-on : ubuntu-latest
12
-
13
- container :
14
- image : elixir:1.9-alpine
15
-
16
12
steps :
17
13
- name : Checkout Code
18
14
uses : actions/checkout@v1
19
15
16
+ - name : Set up Elixir
17
+ uses : erlef/setup-elixir@v1
18
+ with :
19
+ elixir-version : ' 1.11'
20
+ otp-version : ' 22.3'
21
+
20
22
- name : Install Dependencies
21
23
run : |
22
24
mix local.rebar --force
23
25
mix local.hex --force
24
26
mix deps.get
25
-
26
27
- name : Run Tests
27
28
run : mix test
28
29
29
30
Linting :
30
31
runs-on : ubuntu-latest
31
-
32
- container :
33
- image : elixir:1.9-alpine
34
-
35
32
steps :
36
33
- name : Checkout Code
37
34
uses : actions/checkout@v1
38
35
36
+ - name : Set up Elixir
37
+ uses : erlef/setup-elixir@v1
38
+ with :
39
+ elixir-version : ' 1.11'
40
+ otp-version : ' 22.3'
41
+
39
42
- name : Install Dependencies
40
43
run : |
41
44
mix local.rebar --force
42
45
mix local.hex --force
43
46
mix deps.get
44
-
45
47
- name : Run Formatter
46
48
run : mix format --check-formatted
47
49
You can’t perform that action at this time.
0 commit comments