Skip to content

Commit 3e23b1a

Browse files
authored
Create pull_request.yml
1 parent 0e8e934 commit 3e23b1a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PR
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v4
16+
with:
17+
go-version: '1.20'
18+
19+
- name: Check style
20+
run: make style
21+
22+
- name: Check that we can compile the exporter
23+
run: make build
24+
25+
- name: Check that we can build the docker container
26+
run: make docker-build

0 commit comments

Comments
 (0)