Jelajahi Sumber

Merge pull request #2464 from opencost/dependabot/github_actions/actions/cache-4

Bump actions/cache from 3 to 4
Matt Ray 2 tahun lalu
induk
melakukan
bd88fc0054
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      .github/workflows/build-test.yaml

+ 2 - 2
.github/workflows/build-test.yaml

@@ -29,7 +29,7 @@ jobs:
 
 
       # Saves us from having to redownload all modules
       # Saves us from having to redownload all modules
       - name: Go Mod cache
       - name: Go Mod cache
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
         with:
           path: |
           path: |
             ~/.cache/go-build
             ~/.cache/go-build
@@ -86,7 +86,7 @@ jobs:
         shell: bash
         shell: bash
         run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
         run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
 
 
-      - uses: actions/cache@v3
+      - uses: actions/cache@v4
         id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
         id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
         with:
         with:
           path: ${{ steps.npm-cache-dir.outputs.dir }}
           path: ${{ steps.npm-cache-dir.outputs.dir }}