-
Notifications
You must be signed in to change notification settings - Fork 47
43 lines (39 loc) · 1.01 KB
/
pull-request.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
name: Test csv-generator
on:
push: {}
pull_request: {}
jobs:
validate_metrics_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Golang
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Generate metrics docs
run: make generate-doc
- name: Validate no changes
run: git diff --exit-code
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Golang
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build and Test csv-generator
run: make container-build && ./tests/e2e-test-csv-generator.sh
check_commited_files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Golang
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Check commited files
run: hack/check-commited-changes.sh