Skip to content

refactor: move DependencyReference to apis/meta #4174

refactor: move DependencyReference to apis/meta

refactor: move DependencyReference to apis/meta #4174

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
chunk: ["1/4", "2/4", "3/4", "4/4"]
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: 1.25.x
# https://github.com/actions/setup-go/blob/main/docs/adrs/0000-caching-dependencies.md#example-of-real-use-cases
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Run tests (chunk ${{ matrix.chunk }})
env:
SKIP_COSIGN_VERIFICATION: true
run: make test-chunk CHUNK=${{ matrix.chunk }}
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
git --no-pager diff
echo 'run make all and commit changes'
exit 1
fi