Skip to content

Commit 28ab6e9

Browse files
committed
fix: bump ci go to v1.20 and fix goimports
1 parent 9a41055 commit 28ab6e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.19
18+
go-version: '1.20'
1919
stable: true
2020

2121
- run: |
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up go
4040
uses: actions/setup-go@v2
4141
with:
42-
go-version: 1.19
42+
go-version: '1.20'
4343
stable: true
4444

4545
- run: |
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@v1
6565
- uses: actions/setup-go@v1
6666
with:
67-
go-version: 1.19
67+
go-version: '1.20'
6868
- name: Install latest version of Kind
6969
run: |
7070
GO111MODULE=on go get sigs.k8s.io/kind

pkg/patterns/declarative/metrics.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,4 +605,5 @@ func (rt recordTrigger) Delete(ctx context.Context, ev event.DeleteEvent, _ work
605605
}
606606
}
607607

608-
func (rt recordTrigger) Generic(ctx context.Context, ev event.GenericEvent, _ workqueue.RateLimitingInterface) {}
608+
func (rt recordTrigger) Generic(ctx context.Context, ev event.GenericEvent, _ workqueue.RateLimitingInterface) {
609+
}

pkg/test/testreconciler/simpletest/controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ func (r *SimpleTestReconciler) SetupWithManager(mgr ctrl.Manager) error {
9494
if err != nil {
9595
return err
9696
}
97-
9897

9998
// Watch for changes to SimpleTest objects
10099
err = c.Watch(source.Kind(mgr.GetCache(), &api.SimpleTest{}), &handler.EnqueueRequestForObject{})

0 commit comments

Comments
 (0)