From 26a3cf2a18fe0455909ae67a506a4769fa980355 Mon Sep 17 00:00:00 2001 From: mkelcik Date: Sat, 9 Dec 2023 16:20:31 +0100 Subject: [PATCH] upgrade --- .github/workflows/quality-checks.yml | 6 +++--- main.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 1347cf1..55270ff 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' cache: false - uses: actions/checkout@v3 - name: golangci-lint @@ -39,7 +39,7 @@ jobs: - name: Prepare go environment uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' cache: false - name: Install dep scanner run: | @@ -58,7 +58,7 @@ jobs: - name: Prepare go environment uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' cache: false - name: Run tests run: go test --cover -coverprofile coverage.out -covermode count -v ./... diff --git a/main.go b/main.go index d0999f5..856939f 100644 --- a/main.go +++ b/main.go @@ -89,7 +89,7 @@ func main() { } if config.OnChangeComment != "" { - update.Comment = config.OnChangeComment + update.Comment = &config.OnChangeComment } if _, err := api.UpdateDNSRecord(ctx, cloudflare.ZoneIdentifier(zoneID), update); err != nil {