add a crypto base layer that abstract various keypair type, + test/bench suite #58
Workflow file for this run
This file contains hidden or 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
| on: [push, pull_request] | |
| name: Go Test | |
| jobs: | |
| unit: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ "ubuntu" ] | |
| go: [ "1.22.x", "1.23.x", ] | |
| env: | |
| COVERAGES: "" | |
| runs-on: ${{ matrix.os }}-latest | |
| name: ${{ matrix.os}} (go ${{ matrix.go }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Go information | |
| run: | | |
| go version | |
| go env | |
| - name: Run tests | |
| run: go test -v ./... | |
| - name: Check formatted | |
| run: gofmt -l . |