File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Elixir CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ build :
14
+
15
+ name : Build and test
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - name : Set up Elixir
21
+ uses : erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0
22
+ with :
23
+ elixir-version : ' 1.17.2'
24
+ otp-version : ' 27.0'
25
+ - name : Restore dependencies cache
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : deps
29
+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
30
+ restore-keys : ${{ runner.os }}-mix-
31
+ - name : Install dependencies
32
+ run : mix deps.get
33
+ - name : Run tests
34
+ run : mix test
Original file line number Diff line number Diff line change 1
1
# elixir-temp
2
2
3
- [ ![ Build Status ] ( https://travis-ci.org /danhper/elixir-temp.svg?branch=master )] ( https://travis- ci.org/danhper/elixir-temp )
3
+ ![ Build status ] ( https://github.com /danhper/elixir-temp/actions/workflows/ ci.yml/badge.svg )
4
4
[ ![ Module Version] ( https://img.shields.io/hexpm/v/temp.svg )] ( https://hex.pm/packages/temp )
5
5
[ ![ Hex Docs] ( https://img.shields.io/badge/hex-docs-lightgreen.svg )] ( https://hexdocs.pm/temp/ )
6
6
[ ![ Total Download] ( https://img.shields.io/hexpm/dt/temp.svg )] ( https://hex.pm/packages/temp )
You can’t perform that action at this time.
0 commit comments