-
Notifications
You must be signed in to change notification settings - Fork 5
58 lines (53 loc) · 1.54 KB
/
pull_requests.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
name: PRs checks
on:
pull_request:
branches:
- main
- 'release-v[0-9]+.[0-9]+'
jobs:
markdownlint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
- name: Install markdownlint
run: gem install mdl
- name: Check markdown files with markdownlint
run: make markdownlint
test-sumologic-mock:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
toolchain: stable
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Build Sumo Logic Mock
working-directory: src/rust/sumologic-mock/
run: cargo rustc -- -D warnings
- name: Check sumologic-mock formatting
working-directory: src/rust/sumologic-mock/
run: make check-rustfmt
- name: Test sumologic-mock
working-directory: src/rust/sumologic-mock/
run: make test
build-image:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Build kubernetes-tools image
run: make build-image
- name: Test kubernetes-tools image
run: make test-image
test-update-collection-v3:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build update-collection-v3
run: make build-update-collection-v3
- name: Test update-collection-v3
run: make test-update-collection-v3