Refactor crypto package to use p256k1 signer
- Replaced the p256k package with p256k1.mleku.dev/signer across the codebase, updating all instances where the previous signer was utilized. - Removed the deprecated p256k package, including all related files and tests, to streamline the codebase and improve maintainability. - Updated various components, including event handling, database interactions, and protocol implementations, to ensure compatibility with the new signer interface. - Enhanced tests to validate the new signing functionality and ensure robustness across the application. - Bumped version to v0.23.3 to reflect these changes.
This commit is contained in:
26
scripts/test-workflow-local.sh
Executable file
26
scripts/test-workflow-local.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Manual test script for .github/workflows/go.yml
|
||||
# This replicates the build job steps locally
|
||||
|
||||
set -e
|
||||
|
||||
echo "=== Testing GitHub Actions Workflow Locally ==="
|
||||
echo ""
|
||||
|
||||
# Check Go version
|
||||
echo "Checking Go version..."
|
||||
go version
|
||||
echo ""
|
||||
|
||||
# Build without cgo
|
||||
echo "Building with cgo disabled..."
|
||||
CGO_ENABLED=0 go build -v ./...
|
||||
echo ""
|
||||
|
||||
# Test without cgo
|
||||
echo "Testing with cgo disabled..."
|
||||
CGO_ENABLED=0 go test -v $(go list ./... | xargs -n1 sh -c 'ls $0/*_test.go 1>/dev/null 2>&1 && echo $0' | grep .)
|
||||
echo ""
|
||||
|
||||
echo "=== Build job completed successfully ==="
|
||||
|
||||
Reference in New Issue
Block a user