-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (56 loc) · 2.06 KB
/
test.yml
File metadata and controls
64 lines (56 loc) · 2.06 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Test
on:
push:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: 'Inputs: None'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Version'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
version: '0.33.0'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: File Paths'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
file_paths: 'app/views/**/*.html.haml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Fail Level'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
fail_level: 'warning'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Additional Gems'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
additional_gems: 'rubocop-rails rubocop-performance'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Additional Gems with Versions'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
additional_gems: "'rubocop-rails:2.3.2' 'rubocop-performance:~>1.5'"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Exclude Paths'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
exclude_paths: 'app/views/devise/confirmations/*.html.haml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Inputs: Config Path'
uses: andrewmcodes/haml-lint-action@199871b6453f6345b67e1cd9c9c244ff323d14f6
with:
config_path: 'config/.haml-lint.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}