build: upgrade the compliance suite to toml-test v2.2.0
Test / test (push) Successful in 1m42s

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-17 21:30:41 +02:00
parent 3cd538fad6
commit 18f1cd51e9
6 changed files with 20 additions and 8 deletions
+3 -2
View File
@@ -99,10 +99,11 @@ jobs:
# output has to be captured into a variable.
env:
GOBIN: ${{ gitea.workspace }}/bin
run: go install github.com/toml-lang/toml-test/cmd/toml-test@v1.6.0
run: go install github.com/toml-lang/toml-test/v2/cmd/toml-test@v2.2.0
- name: Build the decoder
run: go build -o bin/interpres-decode ./cmd/interpres-decode
- name: Compliance suite
run: bin/toml-test bin/interpres-decode
# interpres implements TOML 1.0; v2 tests 1.1 by default, so the mode is pinned.
run: bin/toml-test test -decoder=bin/interpres-decode -toml=1.0