-
Notifications
You must be signed in to change notification settings - Fork 52
49 lines (44 loc) · 1.29 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
46
47
48
49
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: rubocop
uses: reviewdog/action-rubocop@v2
with:
rubocop_version: gemfile
rubocop_extensions: standard:gemfile
reporter: github-pr-review
- name: alex
uses: reviewdog/action-alex@v1
with:
reporter: github-pr-review
- name: markdownlint
uses: reviewdog/action-markdownlint@v0
with:
reporter: github-pr-review