-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
41 lines (41 loc) · 1.25 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Elixir Unit Test
inputs:
elixir-version:
required: true
type: string
erlang-version:
required: true
type: string
app-installation-id:
description: 'Optionally rewrite all GitHub URLs to authenticate with an app-generated token.'
required: false
default: 'false'
type: string
app-installation-key:
description: 'Optionally rewrite all GitHub URLs to authenticate with an app-generated token.'
required: false
default: 'false'
type: string
# using a string because booleans currently converted to strings
# within workflow dispatches and composite actions
# https://github.com/actions/runner/issues/1483
skip-checkout:
required: false
default: 'false'
type: string
runs:
using: composite
steps:
- uses: rentpath/actions-services-elixir-deps@v2
with:
elixir-version: ${{ inputs.elixir-version }}
erlang-version: ${{ inputs.erlang-version }}
app-installation-id: ${{ inputs.app-installation-id }}
app-installation-key: ${{ inputs.app-installation-key }}
mix-env: test
skip-checkout: ${{ inputs.skip-checkout }}
- name: Unit Test
env:
MIX_ENV: test
run: mix do compile --force, credo --strict, test, clean
shell: bash