From d37557673c5ba3004956e02832bd66cb226b4439 Mon Sep 17 00:00:00 2001 From: Francisco Valentim Castilho Date: Thu, 2 Jan 2025 14:24:07 -0300 Subject: [PATCH] Fix: Enable workflow to clone private repo --- .github/workflows/frontier-tests.yml | 26 ++++++++++++++------------ node/.DS_Store | Bin 6148 -> 0 bytes 2 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 node/.DS_Store diff --git a/.github/workflows/frontier-tests.yml b/.github/workflows/frontier-tests.yml index 6dcb934..1918b37 100644 --- a/.github/workflows/frontier-tests.yml +++ b/.github/workflows/frontier-tests.yml @@ -15,8 +15,20 @@ jobs: permissions: contents: read steps: - - name: Checkout the source code + - name: Check out the source code uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + persist-credentials: true + + - name: Install deps + run: sudo apt -y install protobuf-compiler + + - name: Install & display rust toolchain + run: rustup show + + - name: Check targets are installed correctly + run: rustup target list --installed - name: Configure Git for Cargo run: | @@ -24,22 +36,12 @@ jobs: git config --global url."https://${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" # Also replace git@github.com: with https:// git config --global url."https://${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/".insteadOf "git@github.com:" - - name: Configure Cargo run: | mkdir -p .cargo echo '[net]' >> .cargo/config.toml - echo 'git-fetch-with-cli = true' >> .cargo/config.toml - - - name: Install deps - run: sudo apt -y install protobuf-compiler - - - name: Install & display rust toolchain - run: rustup show - - - name: Check targets are installed correctly - run: rustup target list --installed + # echo 'git-fetch-with-cli = true' >> .cargo/config.toml - name: Build Centrum run: cargo build --release diff --git a/node/.DS_Store b/node/.DS_Store deleted file mode 100644 index 0895fb0c1074ba0e8a38075b8464b932eb098296..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK!A{#i5S>jzV;5D*p-5aRS?U$hgjSId7Zd2A*Sac)76lteVAXh0?2tng$!GW& zuKkk!PWxteQxQV11)&*f_Kj!f?P}jzUM~@;!6fYwb%@A=Gd6rQ4;c5euUNxn)_}^4 zktIqLK)?BXaAC1C+OoBV;{c#+ZZCEmvlfe_W6u7_PauR zK{@aF9nS4NPLoP7PM53Hn}@5CX?f|!`k7qjSy^?vzf_~yT6@uM`|b7iadfVyQ59E{ zauAQd@zWQr^JEdn$=7T&9d=$H=%R|VVl*~{EFGcb`%zY;dOFaPA}tL!vK_wf`NPiU zY}W7XYy}_sz4=x!+ui9Re&3(ZeQ)FKyS>lDANfV0uUQDZ_IU4&y>hsK8w766SJAl0 zb#aEwqIyv!C<=%IqQK)Q;J!xQ`r}M5vx)+uz!O%0zYhVNF?3j4G@lMM<_Z98A#DsX z|1vTsa2PtQEusgeEEQ;}%3U#(r6V7>y3k>5(b7q|%ZG9^D|bUtW_FApm~v8~MQKF= zQD9ktrhV-2`Tz0X_y1**Jc$CLz_U_7wGN}h0hZ*>)|JKaSsTDl;A~u1Tl`BwV2)zc e@=?4AH->z`0Wfq}TSNvXKLSPuX+(kls=yyrqHX#B