-
Notifications
You must be signed in to change notification settings - Fork 52
45 lines (41 loc) · 1.16 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@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@v1
with:
reporter: github-pr-review
- name: actionlint
uses: reviewdog/action-actionlint@v1
with:
reporter: github-pr-review
- name: Run Ruby linter
run: |
make lint-ruby
- name: alex
uses: reviewdog/action-alex@v1
with:
reporter: github-pr-review
- name: markdownlint
uses: reviewdog/action-markdownlint@v0
with:
reporter: github-pr-review