소스 검색

Remove redundant actions/cache from GH Actions since actions/setup-go has built-in caching

DarthSim 1 년 전
부모
커밋
665e6f29ab
2개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 7
      .github/workflows/lint.yml
  2. 0 7
      .github/workflows/test.yml

+ 0 - 7
.github/workflows/lint.yml

@@ -22,13 +22,6 @@ jobs:
       - uses: actions/setup-go@v4
         with:
           go-version: ${{ matrix.go-version }}
-      - name: Cache mods
-        uses: actions/cache@v4
-        with:
-          path: |
-            ~/.cache/go-build
-            ~/go/pkg/mod
-          key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
       - name: Download mods
         run: go mod download
       - name: Lint

+ 0 - 7
.github/workflows/test.yml

@@ -22,13 +22,6 @@ jobs:
       - uses: actions/setup-go@v4
         with:
           go-version: ${{ matrix.go-version }}
-      - name: Cache mods
-        uses: actions/cache@v4
-        with:
-          path: |
-            ~/.cache/go-build
-            ~/go/pkg/mod
-          key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
       - name: Download mods
         run: go mod download
       - name: Test