File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,46 +2,13 @@ name: CI
22
33on :
44 push :
5- branches : [master]
5+ branches : [master, main ]
66 pull_request :
7- branches : [master]
7+ branches : [master, main]
8+
9+ permissions :
10+ contents : read
811
912jobs :
1013 ci :
11- runs-on : ubuntu-latest
12-
13- strategy :
14- fail-fast : false
15- matrix :
16- include :
17- - elixir : ' 1.15'
18- otp : ' 25'
19- - elixir : ' 1.16'
20- otp : ' 26'
21- - elixir : ' 1.17'
22- otp : ' 27'
23-
24- steps :
25- - uses : actions/checkout@v4
26-
27- - uses : erlef/setup-beam@v1
28- with :
29- elixir-version : ${{ matrix.elixir }}
30- otp-version : ${{ matrix.otp }}
31-
32- - name : Restore Mix cache
33- uses : actions/cache@v4
34- with :
35- path : |
36- deps
37- _build
38- key : ${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }}
39- restore-keys : |
40- ${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-
41- ${{ runner.os }}-mix-
42-
43- - name : Install dependencies
44- run : mix deps.get
45-
46- - name : Run CI
47- run : mix ci
14+ uses : elixir-vibe/actions/.github/workflows/elixir-ci.yml@v1
You can’t perform that action at this time.
0 commit comments