tests/thirdparty: add mmcloughlin/md4 (#249)
This commit is contained in:
committed by
GitHub
parent
a25e011a06
commit
77ce540158
34
.github/workflows/packages.yml
vendored
34
.github/workflows/packages.yml
vendored
@@ -840,3 +840,37 @@ jobs:
|
||||
- name: Test
|
||||
working-directory: blake3
|
||||
run: go test ./...
|
||||
mmcloughlin-md4:
|
||||
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 mmcloughlin/md4
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
with:
|
||||
repository: mmcloughlin/md4
|
||||
ref: v0.1.2
|
||||
path: md4
|
||||
persist-credentials: false
|
||||
- name: Avo Module Replacement
|
||||
working-directory: md4/asm
|
||||
run: |
|
||||
go mod edit -modfile=go.mod -require=github.com/mmcloughlin/avo@v0.0.0-00010101000000-000000000000
|
||||
go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
|
||||
go mod tidy -modfile=go.mod
|
||||
- name: Generate
|
||||
working-directory: md4
|
||||
run: go generate -v -x
|
||||
- name: Diff
|
||||
working-directory: md4
|
||||
run: git diff
|
||||
- name: Test
|
||||
working-directory: md4
|
||||
run: go test ./...
|
||||
|
||||
22
tests/thirdparty/packages.json
vendored
22
tests/thirdparty/packages.json
vendored
@@ -201,7 +201,7 @@
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Optimized Go Compression Packages",
|
||||
"stars": 2701
|
||||
"stars": 2702
|
||||
},
|
||||
"default_branch": "master",
|
||||
"version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080",
|
||||
@@ -623,5 +623,25 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"owner": "mmcloughlin",
|
||||
"name": "md4"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Assembly-optimized MD4 hash algorithm in Go",
|
||||
"stars": 15
|
||||
},
|
||||
"default_branch": "main",
|
||||
"version": "v0.1.2",
|
||||
"module": "asm/go.mod",
|
||||
"generate": [
|
||||
{
|
||||
"commands": [
|
||||
"go generate -v -x"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user