File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+
6+ name : Elixir CI
7+
8+ on :
9+ push :
10+ branches : [ "master" ]
11+ pull_request :
12+ branches : [ "master" ]
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ test :
19+
20+ runs-on : ubuntu-latest
21+
22+ name : OTP ${{matrix.pair.otp}} / Elixir ${{matrix.pair.elixir}}
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ include :
28+ - pair :
29+ otp : 25
30+ elixir : 1.14
31+ - pair :
32+ otp : 27
33+ elixir : 1.18
34+ steps :
35+ - uses : actions/checkout@v4
36+ - uses : erlef/setup-elixir@v1
37+ with :
38+ otp-version : ${{matrix.pair.otp}}
39+ elixir-version : ${{matrix.pair.elixir}}
40+ - name : Dependencies Cache
41+ uses : actions/cache@v3
42+ with :
43+ path : deps
44+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
45+ restore-keys : ${{ runner.os }}-mix-
46+ - name : Install Dependencies
47+ run : mix deps.get
48+ - name : Test
49+ run : mix test
You can’t perform that action at this time.
0 commit comments