Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 98944c8

Browse files
committed
fixup! chore: use Deno from all ci scripts
1 parent aa973bf commit 98944c8

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

ci/steps/fmt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, execInherit, requireNoFilesChanged, isCI } from "./lib.ts"
2+
import { cdProjectRoot, execInherit, requireNoFilesChanged, isCI } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
console.log("--- formatting")
77
await execInherit("go mod tidy")

ci/steps/gendocs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, execInherit, requireNoFilesChanged, isCI } from "./lib.ts"
2+
import { cdProjectRoot, execInherit, requireNoFilesChanged, isCI } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
console.log("--- regenerating documentation")
77
await Deno.remove("./docs", { recursive: true })

ci/steps/integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, execInherit } from "./lib.ts"
2+
import { cdProjectRoot, execInherit } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
console.info("--- building integration test image")
77
await execInherit(

ci/steps/lint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, execInherit } from "./lib.ts"
2+
import { cdProjectRoot, execInherit } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
console.info("--- golangci-lint")
77
await execInherit("golangci-lint run -c .golangci.yml")

ci/steps/unit_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, execInherit } from "./lib.ts"
2+
import { cdProjectRoot, execInherit } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
console.info("--- running unit tests")
77
await execInherit(

ci/steps/update_brew.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env -S deno run --allow-all
2-
import { root, write } from "./lib.ts"
2+
import { cdProjectRoot, write } from "./lib.ts"
33

4-
await root()
4+
await cdProjectRoot()
55

66
interface Params {
77
sha: string

0 commit comments

Comments
 (0)