-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (34 loc) · 861 Bytes
/
action.yml
File metadata and controls
37 lines (34 loc) · 861 Bytes
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
name: Crystal Ameba Linter
description: A GitHub Action that lints Crystal code with Ameba
author: Vitalii Elenhaupt <velenhaupt@gmail.com>
branding:
icon: code
color: red
inputs:
config:
description: Path to Ameba configuration file
version:
description: Version of Ameba rules to use
min-severity:
description: Minimum severity of issues to report
only:
description: Run only given rules (or groups)
except:
description: Disable the given rules (or groups)
runs:
using: docker
image: Dockerfile
entrypoint: /usr/bin/ameba
args:
- "--format"
- "github-actions"
- "--config"
- "${{ inputs.config }}"
- "--up-to-version"
- "${{ inputs.version }}"
- "--min-severity"
- "${{ inputs.min-severity }}"
- "--only"
- "${{ inputs.only }}"
- "--except"
- "${{ inputs.except }}"