File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 - run: go build -v ./...
4646 - run: |
4747 go test -race -covermode=atomic -coverprofile='coverage.txt' ./...
48- - uses: codecov/codecov-action@v5
48+ - uses: codecov/codecov-action@v6
4949 with:
5050 file: ./coverage.txt
5151 token: \$ {{ secrets.CODECOV_TOKEN }}
5959 if: \$ {{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
6060 steps:
6161 - id: metadata
62- uses: dependabot/fetch-metadata@v2
62+ uses: dependabot/fetch-metadata@v3
6363 with:
6464 github-token: \"\$ {{ secrets.GITHUB_TOKEN }}\"
6565 - run: |
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # shellcheck disable=SC2016
4+ root=$PWD
5+ find . -type f -name go.mod | while read -r mod; do
6+ echo " Running go mod tidy in $( dirname " $mod " ) "
7+ cd " $( dirname " $mod " ) " && go mod tidy
8+ cd " $root " || exit 1
9+ done
You can’t perform that action at this time.
0 commit comments