-
Notifications
You must be signed in to change notification settings - Fork 33
38 lines (32 loc) · 1018 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
name: Go
on:
pull_request:
paths:
- .github/workflows/go.yml
- '**/*.go'
- go.sum
- justfile
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v42-go
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just go-lint --verbose --timeout=10m
fmt:
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v42-go
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just go-fmt-check
unit-test:
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v42-go
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just proxy-init-test-unit