Skip to content

chore(deps): bump github.com/docker/cli from 28.5.1+incompatible to 29.5.3+incompatible #42

chore(deps): bump github.com/docker/cli from 28.5.1+incompatible to 29.5.3+incompatible

chore(deps): bump github.com/docker/cli from 28.5.1+incompatible to 29.5.3+incompatible #42

name: Dependency Guard
on:
pull_request:
types: [opened, synchronize]
branches:
- dev
jobs:
compat-checks:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Verify dependencies
run: go mod download && go mod verify && go vet ./...
- name: Check go.mod integrity
run: |
go mod tidy
git diff --exit-code go.mod go.sum || {
echo "::warning::go.mod is out of sync. Pushing changes."
git add go.mod go.sum
git commit -m "chore(deps): go mod tidy"
git push origin ${{ github.head_ref }}
}
- name: Build test
run: go build ./...
- name: Run tests
run: go test -race ./...