From b1d1e1e7b911b5270fd3125a4c5e06980586003a Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 27 Aug 2021 17:02:25 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=E4=BF=AE=E6=AD=A3lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull.yml | 6 +++--- .github/workflows/push.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 5e5f2da8..d4b6ec7e 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -10,9 +10,6 @@ jobs: with: go-version: 1.17 - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - name: Cache Go id: cache uses: actions/cache@v2 @@ -20,6 +17,9 @@ jobs: # A list of files, directories, and wildcard patterns to cache and restore path: ~/go/pkg/mod key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }} + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 - name: golangci-lint uses: golangci/golangci-lint-action@master diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 24ce4662..bc07021b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -10,9 +10,6 @@ jobs: with: go-version: 1.17 - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - name: Cache Go id: cache uses: actions/cache@v2 @@ -20,6 +17,9 @@ jobs: # A list of files, directories, and wildcard patterns to cache and restore path: ~/go/pkg/mod key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }} + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 - name: golangci-lint uses: golangci/golangci-lint-action@master