diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index de5090c565..d128931858 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -47,6 +47,7 @@ jobs: id: filter_go with: github_token: ${{ secrets.WORKFLOW_PAT || secrets.GITHUB_TOKEN }} + fetch-tags: 'false' timeout: '10m' - name: Check For Solidity Changes diff --git a/.github/workflows/goreleaser-actions.yml b/.github/workflows/goreleaser-actions.yml index 60af3fd5d8..1215baf034 100644 --- a/.github/workflows/goreleaser-actions.yml +++ b/.github/workflows/goreleaser-actions.yml @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - submodules: 'recursive' + fetch-tags: 'false' - uses: docker://ghcr.io/synapsecns/sanguine/git-changes-action:latest id: filter_go @@ -111,7 +111,7 @@ jobs: # TODO: we may want to dry run this on prs run-goreleaser: - runs-on: ubuntu-latest + runs-on: namespace-profile-fast-goreleaser needs: [build-goreleaser,changes] if: ${{ needs.changes.outputs.package_count > 0 }} permissions: @@ -129,7 +129,7 @@ jobs: image: ${{ needs.build-goreleaser.outputs.goreleaser-image }} volumes: [ /repo ] steps: - - name: Git Checkout + - name: Git Checkout (gh) uses: actions/checkout@v4 with: fetch-depth: 0 @@ -145,6 +145,7 @@ jobs: restore-keys: | ${{ runner.os }}-go-${{matrix.package}} + - name: Get branch name id: branch-name uses: tj-actions/branch-names@v6 diff --git a/core/README.md b/core/README.md index 646b106eea..5e9f6419d2 100644 --- a/core/README.md +++ b/core/README.md @@ -8,6 +8,7 @@ Core contains common libraries used across the synapse Go repositories. ## Directory Structure +
root ├── bytemap: Implements a map using `[]rune` or `[]byte` instead of `string` diff --git a/docker/goreleaser/Dockerfile b/docker/goreleaser/Dockerfile index 37c9dafc6d..9b5c636255 100644 --- a/docker/goreleaser/Dockerfile +++ b/docker/goreleaser/Dockerfile @@ -120,3 +120,7 @@ RUN apt-get update && apt-get install -y nodejs RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin RUN rm -rf /var/lib/apt/lists/* /var/log/apt/* /tmp/* /var/tmp/* + +RUN curl -fsSL https://get.namespace.so/cloud/install.sh | NS_ROOT=/usr/local/bin sh +ENV NS_ROOT=/usr/local/bin +ENV PATH=${PATH}:/usr/local/bin diff --git a/services/rfq/guard/service/handlers.go b/services/rfq/guard/service/handlers.go index 736fd61b5a..c162d9833e 100644 --- a/services/rfq/guard/service/handlers.go +++ b/services/rfq/guard/service/handlers.go @@ -30,7 +30,6 @@ func (g *Guard) handleBridgeRequestedLog(parentCtx context.Context, req *fastbri defer func() { metrics.EndSpanWithErr(span, err) }() - originClient, err := g.client.GetChainClient(ctx, chainID) if err != nil { return fmt.Errorf("could not get correct omnirpc client: %w", err)