forked from linkerd/linkerd2
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 881 Bytes
/
go.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
name: Go
on:
pull_request:
paths:
- .github/workflows/go.yml
- go.sum
- '**/*.go'
- '**/*.golden'
- '**/charts/**'
permissions:
contents: read
jobs:
go-lint:
timeout-minutes: 10
runs-on: ubuntu-20.04
container: ghcr.io/linkerd/dev:v32-go
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- run: just go-lint --verbose --timeout=10m
go-format:
timeout-minutes: 10
runs-on: ubuntu-20.04
container: ghcr.io/linkerd/dev:v32-go
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- run: just go-fmt
go-test:
timeout-minutes: 10
runs-on: ubuntu-20.04
container: ghcr.io/linkerd/dev:v32-go
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- run: just go-fetch
- run: just go-test