Skip to content

Commit

Permalink
Enable GitHub actions scanning for updates with dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
ljubon committed Mar 13, 2024
1 parent 172c677 commit e5a4487
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-go-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
shell: bash
run: echo path=$(go env GOCACHE) >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.cache-info.outputs.path }}
key: ${{ inputs.cache-prefix }}-go-${{ steps.setup-go.outputs.go-version }}-mod-${{ hashFiles('go.sum') }}
Expand All @@ -43,7 +43,7 @@ runs:

- name: Setup tools cache
if: ${{ inputs.cache-tools == 'true' }}
uses: actions/cache@v3
uses: actions/cache@v4
id: tools-cache
with:
path: ${{ steps.tools-cache-info.outputs.path }}
Expand Down
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

version: 2
updates:

# Enable version updated for GitHub actions used in workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"

# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `internal/lookout` directory
Expand Down

0 comments on commit e5a4487

Please sign in to comment.