when: - event: [push, pull_request] branch: main steps: - name: build image: golang commands: - go get ./... - make build