Skip to content

Commit

Permalink
Fix: allow cargo to clone private repos inside the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Anny0nn committed Jan 1, 2025
1 parent 92b2fbf commit 4960180
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/frontier-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Frontier RPC Tests

permissions:
contents: read

on:
workflow_dispatch:
push:
Expand All @@ -15,6 +12,8 @@ concurrency:
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout the source code
uses: actions/checkout@v4
Expand All @@ -23,6 +22,12 @@ jobs:
run: |
git config --global url."https://${{ secrets.GITHUB_TOKEN }}:[email protected]/".insteadOf "https://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

Expand Down

0 comments on commit 4960180

Please sign in to comment.