From 2710074f002cf996e81acba452f7fb71c159b3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=F0=9F=91=8C=20make=20lint=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull.yml | 3 +++ .github/workflows/push.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 844d450d..d1f958b8 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -33,6 +33,9 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} + - name: Tidy Modules + run: go mod tidy + - name: golangci-lint uses: golangci/golangci-lint-action@master with: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 144cebf3..cf3d4c79 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,6 +13,9 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@master + - name: Tidy Modules + run: go mod tidy + - name: Run Lint uses: golangci/golangci-lint-action@master with: