Skip to content

Commit 6f9784b

Browse files
committed
Install only dg in pages workflow
1 parent 8584eab commit 6f9784b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
run: |
3535
mise settings add idiomatic_version_file_enable_tools "[]"
3636
mise settings experimental=true
37-
mise install
37+
mise install "github:decisiongraph/dg"
38+
mise trust
39+
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
3840
env:
3941
GITHUB_TOKEN: ${{ github.token }}
4042

.mise.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ harper-cli lint --user-dict-path .config/lingo.dic --dialect au \
3737

3838
[tasks.dg-check]
3939
# Ignore some S rules that apply to README.md
40-
# U011 ignored as dg appears unable to resolve user identifiers
4140
run = "dg validate --skip S032,S010"
41+
42+
[tasks.dg-build]
43+
run = "dg site"

0 commit comments

Comments
 (0)