feat(crypto): supporting ed25519 #2766
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deadlock and data race detection | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
data-race: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.2' | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test with data race detection | |
run: make test_race | |
- name: Replace sync.RWMutex with deadlock.RWMutex | |
run: find . -type f -name "*.go" -not -path '*/\.*' -exec sed -i -- 's/\t"sync"/\tsync "github.com\/sasha-s\/go-deadlock"/g' {} + | |
- name: Adding go-deadlock package | |
run: go get github.com/sasha-s/go-deadlock | |
- name: Test with deadlock detection | |
run: make test |