Skip to content

Commit 845702c

Browse files
chore(ci): add ci
1 parent 89fa888 commit 845702c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
HSM_PIN: 1234
88
TOKEN_LABEL: 'test'
99
KEY_LABEL: 'test-key'
10+
CGO_ENABLED: 1
1011
name: Build and Test
1112
runs-on: ubuntu-latest
1213
strategy:
@@ -63,8 +64,6 @@ jobs:
6364
6465
softhsm2-util --init-token --slot 0 --free --label $TOKEN_LABEL --so-pin $HSM_SO_PIN --pin $HSM_PIN
6566
p11tool --generate-privkey=rsa --login --set-pin=$HSM_PIN --label="$KEY_LABEL" "pkcs11:token=$TOKEN_LABEL" --outfile ${{ github.workspace }}/public_key.pem
66-
- name: Build
67-
run: make
6867
- name: Run Tests
6968
working-directory: ${{ github.workspace }}
7069
env:

cmd/signing-server/main_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ outer:
102102
log.Println("Health check passed")
103103
break outer
104104
}
105+
time.Sleep(500 * time.Millisecond)
105106
}
106107
}
107108

0 commit comments

Comments
 (0)