diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ddea2e4942ee6..045c6d497a4e6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -80,7 +80,7 @@ jobs: - "cmd/**" - "coderd/**" - "enterprise/**" - - "examples/*" + - "examples/**" - "helm/**" - "provisioner/**" - "provisionerd/**" diff --git a/examples/examples_test.go b/examples/examples_test.go index 13b4df12f6cb9..1a558b6506c73 100644 --- a/examples/examples_test.go +++ b/examples/examples_test.go @@ -51,6 +51,5 @@ func TestSubdirs(t *testing.T) { entryPaths[header.Typeflag] = append(entryPaths[header.Typeflag], header.Name) } - require.Subset(t, entryPaths[tar.TypeDir], []string{"build"}) - require.Subset(t, entryPaths[tar.TypeReg], []string{"README.md", "main.tf", "build/Dockerfile"}) + require.Subset(t, entryPaths[tar.TypeReg], []string{"README.md", "main.tf"}) }