diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5bacb9a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" # Necessary to update action hashs + directory: "/" + schedule: + interval: "weekly" + # Allow up to 3 opened pull requests for github-actions versions + open-pull-requests-limit: 3 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4181d7d..7170330 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: - name: Show inputs run: echo "${{ toJSON(github.event.inputs) }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Use Go 1.20 - name: Switch to Go 1.20 @@ -58,7 +58,7 @@ jobs: # Cache go build cache, used to speedup go test - name: Go Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} @@ -66,14 +66,14 @@ jobs: # Cache go mod cache, used to speedup builds - name: Go Mod Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-go-mod- - name: Ccache cache - uses: actions/cache@v3 + uses: actions/cache@v4 # Store and retrieve the cache with the given sha. # The 'restore-keys' prefix finds the most recent cache in case there # is no match (which should almost always be the case). @@ -214,7 +214,7 @@ jobs: done - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts path: |