diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 82cd741..ee846fd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,10 +19,7 @@ jobs: - name: Check out code uses: actions/checkout@v4 - name: Set up Terraform (REPLACE WITH CODER ACTION WHEN DONE) - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 - with: - terraform_version: 1.9.8 - terraform_wrapper: false + uses: coder/coder/.github/actions/setup-tf@main - name: Set up Bun uses: oven-sh/setup-bun@v2 with: diff --git a/kasmvnc/main.test.ts b/kasmvnc/main.test.ts index 5aedd69..0116d05 100644 --- a/kasmvnc/main.test.ts +++ b/kasmvnc/main.test.ts @@ -5,8 +5,6 @@ import { testRequiredVariables, } from "../test"; -console.log("DELETE ME BEFORE COMMITTING!!!!!"); - const allowedDesktopEnvs = ["xfce", "kde", "gnome", "lxde", "lxqt"] as const; type AllowedDesktopEnv = (typeof allowedDesktopEnvs)[number]; diff --git a/test.ts b/test.ts index 6b945c6..d7db382 100644 --- a/test.ts +++ b/test.ts @@ -202,7 +202,7 @@ export const runTerraformApply = async ( ...process.env, ...(customEnv ?? {}), }; - for (const [key, value] of Object.entries(vars)) { + for (const [key, value] of Object.entries(vars) as [string, JsonValue][]) { if (value !== null) { combinedEnv[`TF_VAR_${key}`] = String(value); }