-
Notifications
You must be signed in to change notification settings - Fork 7
63 lines (53 loc) · 1.27 KB
/
checks.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright (c) 2024 MobileCoin Inc.
name: checks
on:
pull_request: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
contents: read
jobs:
lint-docker:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: mobilecoinofficial/gh-actions/checkout@v0
- name: Run hadolint with reviewdog
uses: reviewdog/action-hadolint@v1
with:
fail_on_error: true
reporter: github-pr-review
exclude: |
*.dockerignore
lint-shell:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: mobilecoinofficial/gh-actions/checkout@v0
- name: Run shellcheck with reviewdog
uses: reviewdog/action-shellcheck@v1
with:
fail_on_error: true
reporter: github-pr-review
lint-actions:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: mobilecoinofficial/gh-actions/checkout@v0
- name: Run actionlint with reviewdog
uses: reviewdog/action-actionlint@v1
with:
fail_on_error: true
reporter: github-pr-review
workflow-ok:
needs:
- lint-docker
- lint-shell
- lint-actions
runs-on: ubuntu-22.04
steps:
- name: All Checks OK!
run: |
true