dependabot(deps): bump the all-github-actions group with 5 updates #847
Workflow file for this run
This file contains hidden or 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 code gen | |
| on: | |
| pull_request: | |
| branches: | |
| - dependabot/** | |
| push: | |
| branches: | |
| - dependabot/** | |
| workflow_dispatch: | |
| permissions: # added using https://github.com/step-security/secure-repo | |
| contents: read | |
| jobs: | |
| build: | |
| permissions: | |
| contents: write # for EndBug/add-and-commit | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 | |
| with: | |
| egress-policy: audit | |
| - name: Get Go version | |
| id: vars | |
| run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
| - name: Set up Go | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: ${{ steps.vars.outputs.go_version }} | |
| id: go | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # tag=v4.3.0 | |
| 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@a94899bca583c204427a224a7af87c02f9b325d5 # tag=v9.1.4 | |
| 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' |