Skip to content

Commit bcac9b8

Browse files
committed
feat: get rid of asdf plugin for taplo & butane
1 parent 5a4af7a commit bcac9b8

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Extract Tool Versions
6363
id: tool-versions
6464
run: |
65-
butane_version=$(grep -E 'butane = "v?[0-9]' .mise.toml | cut -d '=' -f2 | xargs)
65+
butane_version=$(grep -F 'butane' .mise.toml | cut -d '=' -f3 | cut -d '}' -f1 | xargs)
6666
echo "butane_version=${butane_version}" >> "$GITHUB_OUTPUT"
6767
- name: Install butane
6868
env:
@@ -180,8 +180,8 @@ jobs:
180180
- name: Extract Tool Versions
181181
id: tool-versions
182182
run: |
183-
taplo_version=$(grep -F 'taplo' .mise.toml | grep -v 'asdf' | cut -d '=' -f2 | cut -d '#' -f1 | xargs)
184-
taplo_shasum=$(grep -F 'taplo' .mise.toml | cut -d '=' -f3 | xargs)
183+
taplo_version=$(grep -F 'taplo' .mise.toml | cut -d '=' -f3 | cut -d '}' -f1 | xargs)
184+
taplo_shasum=$(grep -F 'taplo' .mise.toml | cut -d '=' -f4 | xargs)
185185
echo "taplo_version=${taplo_version}" >> "$GITHUB_OUTPUT"
186186
echo "taplo_shasum=${taplo_shasum}" >> "$GITHUB_OUTPUT"
187187
- name: Run Taplo

.mise.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
#:schema https://mise.jdx.dev/schema/mise.json
22

3-
[plugins]
4-
butane = "https://github.com/Okeanos/asdf-butane"
5-
taplo = "https://github.com/Okeanos/asdf-taplo"
6-
73
# See https://github.com/jdx/mise/blob/main/registry.toml for what is officially available
84
# Everything else is just declared as a reference to keep track of it.
95
[tools]
10-
butane = "0.25.1"
11-
editorconfig-checker = "3.6.0" # GitHub Actions sha256sum=a2e6d2b9242c325007d66db1842fc83f387e389ed9af3cebfaeee06d19a4a88a
12-
gitleaks = "8.30.0" # GitHub Actions sha256sum=79a3ab579b53f71efd634f3aaf7e04a0fa0cf206b7ed434638d1547a2470a66e
6+
"github:coreos/butane" = { version = "0.25.1" }
7+
editorconfig-checker = "3.6.0" # GitHub Actions sha256sum=a2e6d2b9242c325007d66db1842fc83f387e389ed9af3cebfaeee06d19a4a88a
8+
gitleaks = "8.30.0" # GitHub Actions sha256sum=79a3ab579b53f71efd634f3aaf7e04a0fa0cf206b7ed434638d1547a2470a66e
139
lychee = "0.22.0"
1410
markdownlint-cli2 = "0.20.0"
1511
shellcheck = "0.11.0"
1612
shfmt = "3.12.0"
17-
taplo = "0.10.0" # GitHub Actions sha256sum=8fe196b894ccf9072f98d4e1013a180306e17d244830b03986ee5e8eabeb6156
13+
"github:tamasfe/taplo" = { version = "0.10.0" } # GitHub Actions sha256sum=8fe196b894ccf9072f98d4e1013a180306e17d244830b03986ee5e8eabeb6156
1814
yamllint = "1.37.1"

0 commit comments

Comments
 (0)