File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 :
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 :
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments