Skip to content

Commit

Permalink
GitHub Action: List with JSON (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus authored Nov 15, 2024
1 parent 60e54e7 commit 227c42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-mod-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: false
- run: go list -x -m -u github.com/${{ github.repository }}@${{ github.sha }}
- run: go list -m -u -json -x github.com/${{ github.repository }}@${{ github.sha }}
env:
GOPROXY: https://proxy.golang.org
GOSUMDB: sum.golang.org
- run: go list -x -m -u github.com/${{ github.repository }}@${{ github.ref_name }}
- run: go list -m -u -json -x github.com/${{ github.repository }}@${{ github.ref_name }}
env:
GOPROXY: https://proxy.golang.org
GOSUMDB: sum.golang.org

0 comments on commit 227c42c

Please # to comment.