File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # I am the solo maintainer. All community PRs require my review.
2+ * @ ideamarcos
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - main
7+ jobs :
8+ main :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ include :
14+ - pair :
15+ elixir : 1.13.0
16+ otp : 24.0
17+ lint : true
18+ steps :
19+ - uses : actions/checkout@v3
20+
21+ - uses : erlef/setup-beam@v1
22+ with :
23+ otp-version : ${{matrix.pair.otp}}
24+ elixir-version : ${{matrix.pair.elixir}}
25+
26+ - uses : actions/cache@v3
27+ with :
28+ path : |
29+ deps
30+ _build
31+ key : ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
32+ restore-keys : |
33+ ${{ runner.os }}-mix-
34+
35+ - run : mix deps.get
36+
37+ - run : mix format --check-formatted
38+ if : ${{ matrix.lint }}
39+
40+ - run : mix deps.unlock --check-unused
41+ if : ${{ matrix.lint }}
42+
43+ - run : mix deps.compile
44+
45+ - run : mix compile --warnings-as-errors
46+ if : ${{ matrix.lint }}
You can’t perform that action at this time.
0 commit comments