-
Notifications
You must be signed in to change notification settings - Fork 1
/
bitbucket-pipelines.yml
45 lines (45 loc) · 1.35 KB
/
bitbucket-pipelines.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
image: "public.ecr.aws/apstra-juniper/goapstra-ci:latest"
pipelines:
pull-requests:
'**':
- parallel:
- step:
# Uncomment when self-hosted environment is ready
# runs-on:
# - self.hosted
# - linux
name: staticcheck lint
script:
- make lint-staticcheck
- step:
# Uncomment when self-hosted environment is ready
# runs-on:
# - self.hosted
# - linux
name: revive linter
script:
- make lint-revive
- step:
# Uncomment when self-hosted environment is ready
# runs-on:
# - self.hosted
# - linux
name: go format check
script:
- make fmt-check
- step:
# Uncomment when self-hosted environment is ready
# runs-on:
# - self.hosted
# - linux
name: unit tests
script:
- make unit-tests
- step:
# Uncomment when self-hosted environment is ready
# runs-on:
# - self.hosted
# - linux
name: go vet
script:
- make vet