Skip to content

feat: injector should not link engine or plugin module #1371

feat: injector should not link engine or plugin module

feat: injector should not link engine or plugin module #1371

Workflow file for this run

name: Go Work Check
on:
push:
branches:
- main
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
permissions:
id-token: write
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/go
with:
app_id: ${{ vars.DOCKER_READ_APP_ID }}
app_private_key: ${{ secrets.DOCKER_READ_APP_PRIVATE_KEY }}
- name: Check if go work sync/vendor is clean
run: |-
go work sync
go work vendor
if [[ -n "$(git status --porcelain)" ]]; then
echo "::error::Go work sync/vendor files need to be updated. Please run 'go work sync' and 'go mod vendor' and commit the changes."
git status
git diff
exit 1
fi