forked from ndmitchell/neil
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
39 lines (38 loc) · 1.15 KB
/
action.yml
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
# Written to be available, and tested that it works, but worse than
# just running the curl directly. Waiting for `use` in composite actions, e.g.
# https://github.com/actions/runner/issues/646
name: 'Neil Haskell CI'
description: 'Run standard Neil Haskell CI pattern'
inputs:
hlint-arguments:
description: 'Arguments to pass to HLint'
required: false
default: '.'
install-fsatrace:
description: 'Install the fsatrace binary'
required: false
default: false
make-release:
description: 'Make a release binary'
required: false
default: false
github-user:
description: 'Github user for the `neil` tool'
required: false
default: 'ndmitchell'
branch:
description: 'branch for the `neil` tool'
required: false
default: 'master'
runs:
using: "composite"
steps:
- run: bash $GITHUB_ACTION_PATH/github.sh
shell: bash
env:
HLINT_ARGUMENTS: ${{ inputs.hlint-arguments }}
INSTALL_FSATRACE: ${{ inputs.install-fsatrace }}
MAKE_RELEASE: ${{ inputs.make-release }}
OS: ${{ runner.os }}
GITHUB_USER: ${{ inputs.github-user }}
BRANCH: ${{ inputs.branch }}