diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 865fd252..2cd215c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: golang:alpine +image: golang:bookworm # 在每个任务执行前运行 before_script: diff --git a/packages/helpers/os_test.go b/packages/helpers/os_test.go index bcd63a42..10e1fdf8 100644 --- a/packages/helpers/os_test.go +++ b/packages/helpers/os_test.go @@ -15,7 +15,7 @@ func TestOSHelperTestSuite(t *testing.T) { } func (s *OSHelperTestSuite) TestIsDebian() { - s.False(IsDebian()) + s.True(IsDebian()) } func (s *OSHelperTestSuite) TestIsRHEL() {