File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
Expand file tree Collapse file tree 2 files changed +39
-1
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
7+
8+ on :
9+ push :
10+ branches : [ "main" ]
11+ pull_request :
12+ branches : [ "main" ]
13+
14+ permissions :
15+ contents : read
16+ id-token : write
17+
18+ jobs :
19+ build :
20+
21+ name : Build and test
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Set up Elixir
27+ uses : erlef/setup-beam@v1
28+ with :
29+ elixir-version : ' 1.17.3'
30+ otp-version : ' 26.2.5'
31+ - name : Install dependencies
32+ run : mix deps.get
33+ - name : Run tests with coverage
34+ run : mix lcov
35+ - uses : qltysh/qlty-action/coverage@ea1eaf434a27bf50cd544153084fbb11c52aaf84
36+ with :
37+ oidc : true
38+ files : cover/lcov.info
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ defmodule Sample.MixProject do
55 [
66 app: :sample ,
77 version: "0.1.0" ,
8- elixir: "~> 1.19 " ,
8+ elixir: "~> 1.15 " ,
99 start_permanent: Mix . env ( ) == :prod ,
1010 deps: deps ( ) ,
1111 test_coverage: [
You can’t perform that action at this time.
0 commit comments