Skip to content

GitHub Action: List with JSON (#8) #12

GitHub Action: List with JSON (#8)

GitHub Action: List with JSON (#8) #12

Workflow file for this run

name: Go Module Index
on:
push:
permissions: {}
jobs:
go-mod-index:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
cache: false
- 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 -m -u -json -x github.com/${{ github.repository }}@${{ github.ref_name }}
env:
GOPROXY: https://proxy.golang.org
GOSUMDB: sum.golang.org