Skip to content

Commit 5fa89c9

Browse files
committed
Enable static build for actions, add tests to release
1 parent 926cdca commit 5fa89c9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
build:
10+
env:
11+
CGO_ENABLED: 0
1012
name: Build
1113
runs-on: ubuntu-latest
1214
env:
@@ -23,6 +25,11 @@ jobs:
2325
- uses: actions/checkout@v2
2426
name: Checkout
2527

28+
- name: Test
29+
run: make test
30+
env:
31+
CGO_ENABLED: 1
32+
2633
- name: Set up Ruby
2734
uses: ruby/setup-ruby@v1
2835
with:

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010

1111
tests:
12+
env:
13+
CGO_ENABLED: 0
1214
name: Test code
1315
runs-on: ubuntu-latest
1416
strategy:
@@ -48,6 +50,8 @@ jobs:
4850
4951
- name: Test
5052
run: make test
53+
env:
54+
CGO_ENABLED: 1
5155

5256
- name: Set up Ruby
5357
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)