File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Go
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+
15+ - name : Set up Go
16+ uses : actions/setup-go@v4
17+ with :
18+ go-version : ' 1.19'
19+
20+ - name : Build
21+ run : go build -v ./...
22+
23+ - name : Test
24+ run : go test -v ./...
Original file line number Diff line number Diff line change 1+ # arc-test-component-b
Original file line number Diff line number Diff line change 1+ module github.com/openshift-sustaining/arc-test-component-b
2+
3+ go 1.19
4+
5+ require github.com/golang/glog v1.1.2
Original file line number Diff line number Diff line change 1+ github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo =
2+ github.com/golang/glog v1.1.2 /go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ =
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "github.com/golang/glog"
5+ )
6+
7+ func main () {
8+ glog .Error ("Prepare to repel boarders" )
9+ glog .Flush ()
10+ }
You can’t perform that action at this time.
0 commit comments