-
-
Notifications
You must be signed in to change notification settings - Fork 2
68 lines (59 loc) · 1.81 KB
/
pr.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
57
58
59
60
61
62
63
64
65
66
67
name: PR
on: pull_request
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-entrypoint-py:
name: Lint entrypoint.py
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: pylint
run: make pylint
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true
validate-public-release-image-builds:
name: Validate public release image builds
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Docker build
run: make build-release config=public
validate-public-latest-image-builds:
name: Validate public latest image builds
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Docker build
run: make build-latest config=public
validate-private-release-image-builds:
name: Validate private release image builds
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Docker build
run: make build-release config=private
env:
MATERIAL_INSIDERS_ACCESS: ${{ secrets.MATERIAL_INSIDERS_ACCESS }}
validate-private-latest-image-builds:
name: Validate private latest image builds
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Docker build
run: make build-latest config=private
env:
MATERIAL_INSIDERS_ACCESS: ${{ secrets.MATERIAL_INSIDERS_ACCESS }}