From fa8656317fb9ac8280ae803f162a1827b7855b65 Mon Sep 17 00:00:00 2001 From: Frey Clante Date: Tue, 10 Dec 2024 10:59:57 +0100 Subject: [PATCH 1/2] Update main.go Add missing 'n' to fix a typo from 'covert' to 'convert' --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fca20ff..1d20a1b 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ Preserves map order. -ct = HCL to TOML -cj, -c = HCL to JSON -cc = HCL to HCL --n Do not covert inf, -inf, and NaN to/from strings (YAML or TOML only) +-n Do not convert inf, -inf, and NaN to/from strings (YAML or TOML only) -e Escape HTML (JSON out only) -i Indent output (JSON or TOML out only) -k Attempt to parse keys as objects or numeric types (YAML out only) From 63db96ef92ce3308738b66b9edf068a494586cd9 Mon Sep 17 00:00:00 2001 From: Frey Clante Date: Tue, 10 Dec 2024 12:30:45 +0100 Subject: [PATCH 2/2] Update go.yml ADD workflow_dispatch trigger to enable running the workflow on forks of this repo --- .github/workflows/go.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d17cbcf..737287a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -4,6 +4,8 @@ on: branches: [ main ] pull_request: branches: [ main ] + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest