diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3e9a76d..e0c71c1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.24.3 - name: Build run: go build -v ./... diff --git a/go.mod b/go.mod index 59ba01f..8e950db 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ernesto27/dcli -go 1.20 +go 1.24.3 require ( github.com/charmbracelet/bubbles v0.16.1 diff --git a/models/container_list_test.go b/models/container_list_test.go index 2578e92..152d1ca 100644 --- a/models/container_list_test.go +++ b/models/container_list_test.go @@ -38,7 +38,7 @@ func TestGetContainerRows(t *testing.T) { }, query: "", }, - want: []table.Row{{"1234567890", "test", "test", "", "", "\033[32m\u2191\033[0m " + running}, {"12345678902", "test2", "test2", "", "", "\033[31m\u2193\033[0m " + exited}}, + want: []table.Row{{"1234567890", "test", "test", "", "", "", "\033[32m\u2191\033[0m " + running}, {"12345678902", "test2", "test2", "", "", "", "\033[31m\u2193\033[0m " + exited}}, }, { name: "should get filtered results when search by name", @@ -59,7 +59,7 @@ func TestGetContainerRows(t *testing.T) { }, query: "nginx", }, - want: []table.Row{{"1234567890", "nginx", "test", "", "", "\033[32m\u2191\033[0m " + running}}, + want: []table.Row{{"1234567890", "nginx", "test", "", "", "", "\033[32m\u2191\033[0m " + running}}, }, { name: "should get filtered results when search by image", @@ -80,7 +80,7 @@ func TestGetContainerRows(t *testing.T) { }, query: "mysq", }, - want: []table.Row{{"1234567890", "test", "mysql", "", "", "\033[32m\u2191\033[0m " + running}}, + want: []table.Row{{"1234567890", "test", "mysql", "", "", "", "\033[32m\u2191\033[0m " + running}}, }, }