File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 env :
1313 BINARY : ${{ github.event.repository.name }}
14+ CGO_ENABLED : 0
1415
1516 outputs :
1617 matrix : ${{ steps.build.outputs.matrix }}
2324 - uses : actions/checkout@v2
2425 name : Checkout
2526
27+ - name : Test
28+ run : make test
29+ env :
30+ CGO_ENABLED : 1
31+
2632 - name : Set up Ruby
2733 uses : ruby/setup-ruby@v1
2834 with :
Original file line number Diff line number Diff line change 99jobs :
1010
1111 tests :
12+ env :
13+ CGO_ENABLED : 0
1214 name : Test code
1315 runs-on : ubuntu-latest
1416 strategy :
1517 matrix :
1618 go :
17- - ^1.14
1819 - ^1.15
1920 - ^1.16
21+ - ^1.17
2022 - ^1
2123 steps :
2224
4345
4446 - name : Test
4547 run : make test
48+ env :
49+ CGO_ENABLED : 1
4650
4751 - name : Set up Ruby
4852 uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change 1515VERSION: =$(shell sh -c 'git describe --always --tags | sed -e "s/^v//i"')
1616endif
1717
18+ SRCS: =$(shell find . -name '* .go')
19+
1820all : $(NAME )
1921
2022.PHONY : clean
2426 rm -f * deb * rpm
2527 rm -f sha256sum md5sum
2628
27- $(NAME ) : $(shell find . -name ' * .go' )
29+ $(NAME ) : $(SRCS )
2830 $(GO ) build $(MODULE )
2931
3032e2e-test : $(NAME )
You can’t perform that action at this time.
0 commit comments