Bump xorm.io/builder from 0.3.6 to 0.3.13 in /pkg/util/xorm #12
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: "Go Workspace Check" | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
paths: | |
- .github/workflows/pr-go-workspace-check.yml | |
- go.mod | |
- go.sum | |
- go.work | |
- go.work.sum | |
- '**/go.mod' | |
- '**/go.sum' | |
- '**.go' | |
jobs: | |
check: | |
name: Go Workspace Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set go version | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Update workspace | |
run: make update-workspace | |
- name: Check for go mod & workspace changes | |
run: | | |
if ! git diff --exit-code --quiet; then | |
echo "Changes detected:" | |
git diff | |
echo "Please run 'make update-workspace' and commit the changes." | |
echo "If there is a change in enterprise dependencies, please update pkg/extensions/main.go." | |
exit 1 | |
fi | |
- name: Ensure Dockerfile contains submodule COPY commands | |
run: ./scripts/go-workspace/validate-dockerfile.sh |