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 : simple-module
2+
3+ on : [push, pull_request]
4+
5+ permissions : {}
6+
7+ jobs :
8+ simple :
9+ if : github.repository == 'aleasims/go-cache'
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ os : [ubuntu-latest, macos-latest, windows-latest]
14+
15+ name : Test `go build` on ${{ matrix.os }}
16+ runs-on : ${{ matrix.os }}
17+
18+ steps :
19+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+ with :
21+ persist-credentials : false
22+
23+ - name : Show Go env
24+ run : go env
25+
26+ - name : Run action
27+ uses : ./
28+ with :
29+ modules : tests/simple-module
30+
31+ - name : Go build
32+ run : go build
33+ working-directory : tests/simple-module
Original file line number Diff line number Diff line change 1+ module simple-module
2+
3+ go 1.25.1
4+
5+ require github.com/fatih/color v1.18.0
6+
7+ require (
8+ github.com/mattn/go-colorable v0.1.13 // indirect
9+ github.com/mattn/go-isatty v0.0.20 // indirect
10+ golang.org/x/sys v0.25.0 // indirect
11+ )
Original file line number Diff line number Diff line change 1+ github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM =
2+ github.com/fatih/color v1.18.0 /go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU =
3+ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA =
4+ github.com/mattn/go-colorable v0.1.13 /go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg =
5+ github.com/mattn/go-isatty v0.0.16 /go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM =
6+ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY =
7+ github.com/mattn/go-isatty v0.0.20 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
8+ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
9+ golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
10+ golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34 =
11+ golang.org/x/sys v0.25.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "github.com/fatih/color"
4+
5+ func main () {
6+ color .Red ("DA RED WUNZ GO FASTA!!!" )
7+ }
You can’t perform that action at this time.
0 commit comments