Skip to content

Commit fce238f

Browse files
🌱 Update Github Actions group to v6.0.0 (#312)
* 🌱 Update Github Actions group to v6.0.0 | datasource | package | from | to | | ----------- | ---------------- | ------ | ------ | | github-tags | actions/setup-go | v5.5.0 | v6.0.0 |
1 parent 465eeb1 commit fce238f

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

.builder-image-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.33
1+
1.1.34

.github/actions/setup-go/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runs:
44
using: "composite"
55
steps:
66
- name: Install go
7-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
7+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
88
with:
99
go-version: "1.24"
1010
go-version-file: "go.mod"

.github/workflows/pr-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
2222
runs-on: ubuntu-latest
2323
container:
24-
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.33
24+
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.34
2525
credentials:
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.github_token }}

.github/workflows/schedule-scan-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Trivy
1010
runs-on: ubuntu-latest
1111
container:
12-
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.33
12+
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.34
1313
credentials:
1414
username: ${{ github.actor }}
1515
password: ${{ secrets.github_token }}

internal/controller/clusterstack_controller_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ func TestMakeDiff(t *testing.T) {
117117
expectedToDelete := []*csov1alpha1.ClusterStackRelease{csr1}
118118

119119
if !reflect.DeepEqual(toString(toCreate), toString(expectedToCreate)) {
120-
t.Errorf("toCreate is not as expected")
120+
t.Error("toCreate is not as expected")
121121
}
122122

123123
if !reflect.DeepEqual(toString(toDelete), toString(expectedToDelete)) {
124-
t.Errorf("toDelete is not as expected")
124+
t.Error("toDelete is not as expected")
125125
}
126126

127127
// Test Case 2:
@@ -239,7 +239,7 @@ func TestGetLatestReadyClusterStackRelease(t *testing.T) {
239239
}
240240
expectedLatest := "docker-ferrol-1-21-v3"
241241
if latest == nil {
242-
t.Errorf("Expected latest to be non-nil, but got nil")
242+
t.Error("Expected latest to be non-nil, but got nil")
243243
} else if *latest != expectedLatest {
244244
t.Errorf("Expected latest to be %s, but got %s", expectedLatest, *latest)
245245
}

pkg/test/utils/conditions.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
//revive:disable:var-naming
1718
package utils
1819

20+
//revive:enable:var-naming
1921
import (
2022
"context"
2123

pkg/test/utils/mod.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ limitations under the License.
1515
*/
1616

1717
// Package utils contains important functions for envtest.
18+
//
19+
//revive:disable:var-naming
1820
package utils
1921

22+
//revive:enable:var-naming
23+
2024
import (
2125
"fmt"
2226
"os"

0 commit comments

Comments
 (0)