File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 17
17
steps :
18
18
- name : Checkout
19
19
uses : actions/checkout@v3
20
+ - name : Setup Go
21
+ uses : actions/setup-go@v3
22
+ with :
23
+ go-version : 1.18.x
20
24
- name : Restore Go cache
21
25
uses : actions/cache@v3
22
26
with :
Original file line number Diff line number Diff line change
1
+ FROM golang :1.18 AS go
2
+
1
3
FROM gcr . io /oss -fuzz -base /base -builder -go
2
4
5
+ # ensures golang 1.18 to enable go native fuzzing.
6
+ COPY --from = go /usr /local /go /usr /local /
7
+
3
8
COPY . / $GOPATH/src /github . com /fluxcd /source -controller /
4
9
COPY . /tests /fuzz /oss_fuzz_build . sh $SRC/build . sh
5
10
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ module github.com/fluxcd/source-controller/tests/fuzz
2
2
3
3
go 1.18
4
4
5
- replace github.com/fluxcd/kustomize -controller/api => ../../api
5
+ replace github.com/fluxcd/source -controller/api => ../../api
6
6
7
- replace github.com/fluxcd/kustomize -controller => ../../
7
+ replace github.com/fluxcd/source -controller => ../../
You can’t perform that action at this time.
0 commit comments