🌱 Bump the dependencies group across 1 directory with 7 updates #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dependabot | |
on: | |
pull_request: | |
branches: | |
- dependabot/** | |
push: | |
branches: | |
- dependabot/** | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'Run code generation manually from GH CLI' | |
required: true | |
default: 'Make Generate' | |
permissions: | |
contents: write # Allow actions to update dependabot PRs | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/[email protected] | |
- uses: actions/cache@v4 | |
name: Restore go cache | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Update all modules | |
run: make modules | |
- name: Update generated code | |
run: make generate | |
- uses: EndBug/add-and-commit@v9 | |
name: Commit changes | |
with: | |
author_name: dependabot[bot] | |
author_email: 49699333+dependabot[bot]@users.noreply.github.com | |
default_author: github_actor | |
message: 'Update generated code' |