From ce4b6426903babb86a454136fcea9ba4c4949c01 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 24 Jan 2024 21:41:33 +0200 Subject: [PATCH 1/2] dev: check go.sum is up to date --- .github/workflows/pr.yml | 2 +- go.sum | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e53896d09b78..6d44bcb6e1d3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,7 +26,7 @@ jobs: - name: Check go mod run: | go mod tidy - git diff --exit-code go.mod + git diff --exit-code # We already run the current golangci-lint in tests, but here we test # our GitHub action with the latest stable golangci-lint. diff --git a/go.sum b/go.sum index b8a6c7101d2f..b08dd654c8a0 100644 --- a/go.sum +++ b/go.sum @@ -43,8 +43,6 @@ github.com/Antonboom/errname v0.1.12 h1:oh9ak2zUtsLp5oaEd/erjB4GPu9w19NyoIskZClD github.com/Antonboom/errname v0.1.12/go.mod h1:bK7todrzvlaZoQagP1orKzWXv59X/x0W0Io2XT1Ssro= github.com/Antonboom/nilnil v0.1.7 h1:ofgL+BA7vlA1K2wNQOsHzLJ2Pw5B5DpWRLdDAVvvTow= github.com/Antonboom/nilnil v0.1.7/go.mod h1:TP+ScQWVEq0eSIxqU8CbdT5DFWoHp0MbP+KMUO1BKYQ= -github.com/Antonboom/testifylint v1.0.2 h1:WkSc4c6AcYAPrSqj/3MYrewhszk+mnwd07acH1NL9Vw= -github.com/Antonboom/testifylint v1.0.2/go.mod h1:tGEV9t6Th7DHXFVjd8oyLOBbIxXzs4CMEIAkbQ2RuC8= github.com/Antonboom/testifylint v1.1.0 h1:HrgwOEqVQc5eAsWEDA6JvK7ZSzfdTBjWt0PAYHweu+o= github.com/Antonboom/testifylint v1.1.0/go.mod h1:m62Du5rtu7uwrWsypuLPTVeKbTB3NZgPWrxfffu2r/8= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= From 3670b619c4d96a7ab32a764e5ae35c36d68d0ced Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 24 Jan 2024 23:07:39 +0200 Subject: [PATCH 2/2] Update pr.yml Co-authored-by: Ludovic Fernandez --- .github/workflows/pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6d44bcb6e1d3..7ed7d2a6cbfc 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,7 +26,8 @@ jobs: - name: Check go mod run: | go mod tidy - git diff --exit-code + git diff --exit-code go.mod + git diff --exit-code go.sum # We already run the current golangci-lint in tests, but here we test # our GitHub action with the latest stable golangci-lint.