golang.yml 417 B

1234567891011121314151617181920
  1. name: Golang Release
  2. on:
  3. push:
  4. branches:
  5. - main
  6. jobs:
  7. golang:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v4
  11. - uses: actions/setup-go@v5
  12. with:
  13. go-version-file: 'go.mod'
  14. token: ${{ secrets.GITHUB_TOKEN }}
  15. - run: go mod tidy
  16. - run: go run .
  17. - run: GOPROXY=proxy.golang.org go list -m gitlab.com/safeutils/gitlab-profile@0.0.1