From d3188c379e64024254180ea5c62ff5345e7fcf80 Mon Sep 17 00:00:00 2001 From: parketh Date: Thu, 18 Apr 2024 00:49:58 +0100 Subject: [PATCH] chore: add token to access `amm` repo --- .github/workflows/main.yml | 4 ++++ Scarb.lock | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9eeef4c..4699b19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,10 @@ jobs: run: | curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash -s -- -v ${{ env.SCARB_VERSION }} + - name: Set up Git authentication + run: | + git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $(echo -n x-access-token:${{ secrets.GH_PAT }} | base64 --wrap=0)" + - name: Setup Foundry run: | curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v ${{ env.SNFORGE_VERSION }} diff --git a/Scarb.lock b/Scarb.lock index fdb98a9..bb60761 100644 --- a/Scarb.lock +++ b/Scarb.lock @@ -4,6 +4,7 @@ version = 1 [[package]] name = "haiko_amm" version = "2.0.0" +source = "git+https://github.com/haiko-xyz/amm.git?branch=v2.0.0#24bc5685ce60e0e89f664617436c53ea7549c84a" dependencies = [ "haiko_lib", "openzeppelin",