-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (48 loc) · 1.27 KB
/
linters.yml
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
name: Linters
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --ignore=minutes --disable=MD013 "**/*.md"
# - uses: avto-dev/markdown-lint@v1.5.0
# with:
# args: './*.md'
# docker-lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: hadolint/hadolint-action@v3.1.0
# with:
# recursive: true
# ignore: DL3018
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azohra/shell-linter@v0.6.0
# YAMLlint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: ibiqlik/action-yamllint@v3
# with:
# file_or_dir: docker-compose.yml
# config_data: "{extends: default, rules: {line-length: disable}}"
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: golangci/golangci-lint-action@v4
with:
working-directory: ./nwgate