File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 88
99permissions : {}
1010
11+ defaults :
12+ run :
13+ working-directory : aws-cli
14+
1115jobs :
1216 go-check-versions :
1317 runs-on : ubuntu-latest
1418 steps :
15- - name : Check the versions
19+ - name : Check out
20+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+ with :
22+ fetch-depth : 1
23+ persist-credentials : false
24+ - name : Set up Go
25+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v6.1.0
26+ with :
27+ go-version : 1.25.4
28+ - name : Check outdated dependencies
1629 shell : bash
1730 run : |
1831 set -euo pipefail
1932 IFS=$'\n\t'
20- docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" -c 'if go install -u | tee -a /dev/stderr | grep -q -e .; then exit 1; fi'
33+ if [ go list -u -m all 2>&1 | tee -a /dev/stderr | grep -q -e '\[' ]; then
34+ exit 1
35+ fi
You can’t perform that action at this time.
0 commit comments