File tree Expand file tree Collapse file tree 2 files changed +42
-9
lines changed Expand file tree Collapse file tree 2 files changed +42
-9
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
1
+ name : Build
7
2
8
3
on :
9
4
pull_request :
@@ -22,10 +17,10 @@ jobs:
22
17
steps :
23
18
- uses : actions/checkout@v4
24
19
- name : Set up Elixir
25
- uses : erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
20
+ uses : erlef/setup-beam@v1
26
21
with :
27
- elixir-version : ' 1.17.3' # [Required] Define the Elixir version
28
- otp-version : ' 27.0' # [Required] Define the Erlang/OTP version
22
+ elixir-version : ' 1.17.3'
23
+ otp-version : ' 27.0'
29
24
- name : Restore dependencies cache
30
25
uses : actions/cache@v4
31
26
with :
Original file line number Diff line number Diff line change
1
+ name : Build Unlocked
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ schedule :
7
+ - cron : " 0 10 * * 0"
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+
14
+ jobs :
15
+ build :
16
+ name : Build and test unlocked
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - name : Set up Elixir
22
+ uses : erlef/setup-beam@v1
23
+ with :
24
+ elixir-version : ' 1.17.3'
25
+ otp-version : ' 27.0'
26
+ - name : Restore dependencies cache
27
+ uses : actions/cache@v4
28
+ with :
29
+ path : deps
30
+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
31
+ restore-keys : ${{ runner.os }}-mix-
32
+ - name : Unlock dependencies
33
+ run : mix deps.unlock --all
34
+ - name : Install dependencies
35
+ run : mix deps.get
36
+ - name : Run tests
37
+ run : mix test
38
+
You can’t perform that action at this time.
0 commit comments