🌱 Bump actions/cache from 3.3.1 to 3.3.2 #87
Workflow file for this run
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: | |
permissions: | |
contents: write # Allow to update the PR. | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Calculate go version | |
id: vars | |
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: ${{ steps.vars.outputs.go_version }} | |
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 | |
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@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3 | |
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' |