From a17a2f27dbdec9f2251d64e95aa87b36786998e3 Mon Sep 17 00:00:00 2001 From: Mikael Johansson <mik.json@gmail.com> Date: Thu, 19 Sep 2024 08:35:42 +0200 Subject: [PATCH 1/3] Update gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2e1f0da..bc49f38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build/** -**/lint.txt + *.tar.gz .vscode/** +lint.txt \ No newline at end of file From 8cdf6278f5a0a518cc60e7cab0c2d354dbecc9e6 Mon Sep 17 00:00:00 2001 From: Mikael Johansson <mik.json@gmail.com> Date: Thu, 19 Sep 2024 08:36:32 +0200 Subject: [PATCH 2/3] Use make instead --- .github/workflows/go.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 324085e..215d4d0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,8 +12,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.22.2" - - name: Build - run: go build -v ./... + go-version: "1.22.4" - name: Test - run: go test -v ./... + run: make test + - name: Build + run: make build From 8ab7610d924f371ac2b55e5b0d7fe9905078809b Mon Sep 17 00:00:00 2001 From: Mikael Johansson <mik.json@gmail.com> Date: Fri, 20 Sep 2024 08:09:02 +0200 Subject: [PATCH 3/3] Lower case component names --- cmd/rke2diff/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rke2diff/main.go b/cmd/rke2diff/main.go index ecad06f..25344c1 100644 --- a/cmd/rke2diff/main.go +++ b/cmd/rke2diff/main.go @@ -201,7 +201,7 @@ func main() { if _, ok := rows[component.Name]; !ok { rows[component.Name] = table.Row{ - component.Name, + strings.ToLower(component.Name), } }