Skip to content

chore(deps): bump the ci group across 1 directory with 3 updates #1330

chore(deps): bump the ci group across 1 directory with 3 updates

chore(deps): bump the ci group across 1 directory with 3 updates #1330

name: Check for diff after manifest and generated targets
on:
pull_request: {}
permissions:
contents: read
pull-requests: write
jobs:
diff-check-manifests:
name: Check for diff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- name: Make manifests && generate
run: |
make manifests && make generate
- name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
with:
go-version-file: '${{ github.workspace }}/go.mod'
- name: Restore Go cache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
with:
path: /home/runner/work/_temp/_github_home/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: go mod tidy
run: |
go mod tidy
- name: Check for diff
run: |
git diff --exit-code --shortstat