Skip to content

chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 in /src in the minor-patch group #217

chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 in /src in the minor-patch group

chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 in /src in the minor-patch group #217

Workflow file for this run

name: Go Mod
on:
pull_request:
paths:
- 'src/**'
jobs:
go-mod:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/src
steps:
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version: '1.24.1'
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Check for unused dependencies
run: |
go mod tidy
if [ "$(git status | grep -c "nothing to commit, working tree clean")" == "1" ]; then
echo "Nothing to tidy"
exit 0
fi
echo "Go mod tidy is needed"
exit 1