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 ./...
|
||||
|
||||
Reference in New Issue
Block a user