-
Notifications
You must be signed in to change notification settings - Fork 52
45 lines (41 loc) · 1.37 KB
/
linters.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
42
43
44
45
name: Linters
on: [pull_request]
jobs:
linters:
name: reviewdog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Trust my checkout
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Install devbox
uses: jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # v0.11.0
with:
enable-cache: 'true'
- name: Make devbox shellenv available
run: |
eval "$(devbox shellenv)"
printenv >> $GITHUB_ENV
- name: Run Go linter
run: |
make lint-go
- name: shellcheck
uses: reviewdog/action-shellcheck@22f96e34e9185b642c5567cc26d1df952f5c9d10 # v1
with:
reporter: github-pr-review
- name: actionlint
uses: reviewdog/action-actionlint@08ef4afa963243489a457cca426f705ce4e0d1a5 # v1
with:
reporter: github-pr-review
- name: Run Ruby linter
run: |
make lint-ruby
- name: alex
uses: reviewdog/action-alex@986cf7dd82e702f82b4173deaa793a849f5b719d # v1
with:
reporter: github-pr-review
- name: markdownlint
uses: reviewdog/action-markdownlint@f901468edf9a3634dd39b35ba26cad0aad1a0bfd # v0
with:
reporter: github-pr-review