From 1137c6c7109db398971be4394a20f819d13a76e8 Mon Sep 17 00:00:00 2001 From: Ian Pun Date: Wed, 20 Dec 2023 10:27:29 -0800 Subject: [PATCH] do replace on flowcrypto --- .github/workflows/build-release-test.yaml | 22 +++------------------- flowkit/go.mod | 2 ++ 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-release-test.yaml b/.github/workflows/build-release-test.yaml index 2ba64e48c..300ec8e6a 100644 --- a/.github/workflows/build-release-test.yaml +++ b/.github/workflows/build-release-test.yaml @@ -1,4 +1,4 @@ -name: Build Release +name: Build Release Test on: push: @@ -12,28 +12,13 @@ jobs: strategy: matrix: # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 - goos: [ linux, windows, darwin ] - goarch: [ amd64, arm64 ] + goos: [linux, windows, darwin] + goarch: [amd64, arm64] exclude: - goarch: arm64 goos: windows steps: - - uses: actions/checkout@v3 - - name: Codebase security check - continue-on-error: true - uses: snyk/actions/golang@master - with: - go-version: '1.20' - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - uses: wangyoucao577/go-release-action@v1.40 - env: - MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }} - LILICO_TOKEN: ${{ secrets.LILICO_TOKEN }} - APP_VERSION: $(basename ${GITHUB_REF}) - BUILD_TIME: $(date --iso-8601=seconds) - VERSION: ${{github.ref_name}} - COMMIT: ${{ github.sha }} with: pre_command: make generate github_token: ${{ secrets.GITHUB_TOKEN }} @@ -41,4 +26,3 @@ jobs: goarch: ${{ matrix.goarch }} goversion: "1.20" project_path: "./cmd/flow" - ldflags: -X "github.com/onflow/flow-cli/build.commit=${{ env.COMMIT }}" -X "github.com/onflow/flow-cli/build.semver=${{ env.VERSION }}" -X "github.com/onflow/flow-cli/internal/command.mixpanelToken=${{ env.MIXPANEL_PROJECT_TOKEN }}" -X "github.com/onflow/flow-cli/internal/accounts.accountToken=${{ env.LILICO_TOKEN }}" diff --git a/flowkit/go.mod b/flowkit/go.mod index 5778ce3b5..ccec59125 100644 --- a/flowkit/go.mod +++ b/flowkit/go.mod @@ -205,3 +205,5 @@ require ( modernc.org/memory v1.5.0 // indirect modernc.org/sqlite v1.21.1 // indirect ) + +replace github.com/onflow/flow-go/crypto => github.com/onflow/crypto v0.25.0 \ No newline at end of file