Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/thirdparty: add probakowski/curve1174 #248

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -840,3 +840,37 @@ jobs:
- name: Test
working-directory: blake3
run: go test ./...
probakowski-curve1174:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
with:
go-version: 1.18.x
- name: Checkout avo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
path: avo
persist-credentials: false
- name: Checkout probakowski/curve1174
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
repository: probakowski/curve1174
ref: 0997c2c2577210582cdd99e207a4be81fcdd1f7b
path: curve1174
persist-credentials: false
- name: Avo Module Replacement
working-directory: curve1174
run: |
go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
go mod tidy -modfile=go.mod
- name: Generate
working-directory: curve1174/gen
run: go generate -v -x
- name: Diff
working-directory: curve1174
run: git diff
- name: Test
working-directory: curve1174
run: go test ./...
21 changes: 21 additions & 0 deletions tests/thirdparty/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -623,5 +623,26 @@
]
}
]
},
{
"repository": {
"owner": "probakowski",
"name": "curve1174"
},
"metadata": {
"description": "Go implementation of Curve1147 arithemtic",
"stars": 3
},
"default_branch": "main",
"version": "0997c2c2577210582cdd99e207a4be81fcdd1f7b",
"module": "go.mod",
"generate": [
{
"dir": "gen",
"commands": [
"go generate -v -x"
]
}
]
}
]