File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-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+ name : Elixir CI
6+
7+
8+ on :
9+ push :
10+ branches : [ "main" ]
11+ pull_request :
12+ branches : [ "main" ]
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ build :
19+ name : Build and test
20+ runs-on : self-hosted
21+
22+ steps :
23+ - uses : actions/checkout@v4
24+ - name : Set up Elixir
25+ uses : erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
26+ with :
27+ elixir-version : ' 1.15.2' # [Required] Define the Elixir version
28+ otp-version : ' 26.0' # [Required] Define the Erlang/OTP version
29+ - name : Restore dependencies cache
30+ uses : actions/cache@v3
31+ with :
32+ path : deps
33+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
34+ restore-keys : ${{ runner.os }}-mix-
35+ - name : Install dependencies
36+ run : mix deps.get
37+ - name : Run tests
38+ run : mix test
You can’t perform that action at this time.
0 commit comments