Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Apr 17, 2022
1 parent 04425e1 commit ffd9c25
Showing 1 changed file with 34 additions and 0 deletions.
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 ./...

0 comments on commit ffd9c25

Please sign in to comment.