From debb2f0d9a738e243a6bfce5c8bd3e72eb0ac356 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Mon, 17 Jun 2024 17:04:09 -0600 Subject: [PATCH] lint --- .github/workflows/go.yaml | 4 ++-- .github/workflows/manifests.yaml | 2 +- internal/fullnode/pod_builder_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8e7b3d5c..67268712 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '>=1.20.2' + go-version: '>=1.21' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -29,6 +29,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '>=1.20.2' + go-version: '>=1.21' - name: unit tests run: make test diff --git a/.github/workflows/manifests.yaml b/.github/workflows/manifests.yaml index fd96a968..30628482 100644 --- a/.github/workflows/manifests.yaml +++ b/.github/workflows/manifests.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '>=1.20.2' + go-version: '>=1.21' - run: make generate manifests - uses: CatChen/check-git-status-action@v1 diff --git a/internal/fullnode/pod_builder_test.go b/internal/fullnode/pod_builder_test.go index e042b203..8ceb7cc4 100644 --- a/internal/fullnode/pod_builder_test.go +++ b/internal/fullnode/pod_builder_test.go @@ -685,6 +685,7 @@ gaiad start --home /home/operator/cosmos` crd.Status.Height["osmosis-2"] = 400 pod2, err = builder.WithOrdinal(2).Build() + require.NoError(t, err) require.Equal(t, "osmosis-2", pod2.Name) @@ -699,7 +700,6 @@ gaiad start --home /home/operator/cosmos` require.Equal(t, "new-init", pod2.Spec.InitContainers[2].Name) require.Equal(t, "new-init:latest", pod2.Spec.InitContainers[2].Image) - }) }