Skip to content

Commit 4480dbc

Browse files
chore(ci): add ci
1 parent 845702c commit 4480dbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ jobs:
7272
SIGNING_SERVER_BIN: ${{ github.workspace }}/signing-server
7373
HSM_PUBLIC_KEY_FILE: ${{ github.workspace }}/public_key.pem
7474
run: |
75-
go test -v ./...
75+
sudo go test -v ./...

cmd/signing-server/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ func TestSoftHSMConcurrentSignRequests(t *testing.T) {
5959
t.Fatalf("Failed to create logger: %v", err)
6060
}
6161

62-
ctx, cancel := context.WithCancel(t.Context())
62+
ctx, cancel := context.WithCancel(context.Background())
6363
t.Cleanup(func() {
6464
cancel()
6565
})
6666

6767
go func() {
6868
if err := run(&Config{
69-
HSMModule: strings.TrimSpace(string(hsmModule)),
69+
HSMModule: strings.TrimSpace(hsmModule),
7070
HSMTokenLabel: tokenLabel,
7171
HSMSlot: -1,
7272
HSMKeyLabel: keyLabel,

0 commit comments

Comments
 (0)