File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change 88 branches : [ master ]
99
1010jobs :
11- test :
11+ build :
1212 runs-on : ubuntu-latest
1313
1414 env :
@@ -21,14 +21,17 @@ jobs:
2121
2222 steps :
2323 - uses : actions/checkout@v4
24- - run : |
24+ - name : System Dependencies
25+ run : |
2526 sudo apt update
2627 sudo apt install -y inotify-tools
27- - uses : erlef/setup-beam@v1
28+ - name : Setup Elixir
29+ uses : erlef/setup-beam@v1
2830 with :
2931 otp-version : ${{ matrix.otp }}
3032 elixir-version : ${{ matrix.elixir }}
31- - uses : actions/cache@v4
33+ - name : Restore dependencies cache
34+ uses : actions/cache@v4
3235 with :
3336 path : |
3437 deps
3740 restore-keys : |
3841 mix-${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}-
3942
40- - run : mix deps.get
41- - run : mix format --check-formatted
42- - run : mix credo --strict
43- - run : mix deps.unlock --check-unused
44- - run : mix test
43+ - name : Install dependencies
44+ run : mix deps.get
45+ - name : Check code format
46+ run : mix format --check-formatted
47+ - name : Run static analysis
48+ run : mix credo --strict
49+ - name : Check for unneeded dependencies
50+ run : mix deps.unlock --check-unused
51+ - name : Run tests
52+ run : mix test
You can’t perform that action at this time.
0 commit comments