From 898ab8805d52177317c4b59936df37269e860394 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 30 Apr 2026 13:31:02 +0800 Subject: [PATCH] Install only dg in pages workflow --- .github/workflows/pages.yml | 2 ++ .mise.toml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index a12d5ba..dd4224b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -35,6 +35,8 @@ jobs: mise settings add idiomatic_version_file_enable_tools "[]" mise settings experimental=true mise install "github:decisiongraph/dg" + mise trust + echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.mise.toml b/.mise.toml index afae846..0fa33cc 100644 --- a/.mise.toml +++ b/.mise.toml @@ -37,5 +37,7 @@ harper-cli lint --user-dict-path .config/lingo.dic --dialect au \ [tasks.dg-check] # Ignore some S rules that apply to README.md -# U011 ignored as dg appears unable to resolve user identifiers run = "dg validate --skip S032,S010" + +[tasks.dg-build] +run = "dg site"