primitives/sr25519: Enable generating secret keys from ed25519 keys #363
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
# NOTE: This name appears in GitHub's Checks API and in workflow's status badge. | |
name: ci-tests | |
permissions: | |
contents: read | |
# Trigger the workflow when: | |
on: | |
# A push occurs to one of the matched branches. | |
push: | |
branches: | |
- master | |
# Or when a pull request event occurs for a pull request against one of the | |
# matched branches. | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
# NOTE: This name appears in GitHub's Checks API. | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 | |
- name: Set up Go 1.18 | |
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 | |
with: | |
go-version: "1.18.x" | |
- name: Run 32 bit tests | |
run: | | |
go test ./... -tags=force32bit | |
GOARCH=arm go build ./... | |
- name: Run 64 bit tests | |
run: go test ./... -tags=force64bit | |
- name: Run purego tests | |
run: go test ./... -tags=purego | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2.0 | |
with: | |
version: v1.49 | |
skip-pkg-cache: true |