From f44f86b83240f51788675190c0f0953ef8db799a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 11 Apr 2023 17:44:16 +0800 Subject: [PATCH] Fix workflows --- .github/workflows/debug.yml | 12 ------------ .github/workflows/lint.yml | 6 ------ 2 files changed, 18 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index f3174575..e5135443 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -31,12 +31,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ steps.version.outputs.go_version }} - - name: Cache go module - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - key: go-${{ hashFiles('**/go.sum') }} - name: Add cache to Go proxy run: | version=`git rev-parse HEAD` @@ -196,12 +190,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ steps.version.outputs.go_version }} - - name: Cache go module - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - key: go-${{ hashFiles('**/go.sum') }} - name: Build id: build run: make diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e0a5f56a..27502090 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,12 +31,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ steps.version.outputs.go_version }} - - name: Cache go module - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - key: go-${{ hashFiles('**/go.sum') }} - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: