Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
misc: try another approach to setup Git credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Feb 13, 2024
1 parent 5e74309 commit d3cc5fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/risc0-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 1
CARGO_PROFILE_RELEASE_DEBUG: 1
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RISC0_DEV_MODE: 1
Expand All @@ -25,10 +24,10 @@ jobs:
risc0-check:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Set up Git credentials
run:
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected]
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-risc0
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ env:
RUST_BACKTRACE: short
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
cleanup-runs:
Expand Down Expand Up @@ -52,10 +51,10 @@ jobs:
doc_all_features:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Set up Git credentials
run:
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected]
- uses: arduino/setup-protoc@v2
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -70,10 +69,10 @@ jobs:
clippy_all_features:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Set up Git credentials
run:
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected]
- uses: arduino/setup-protoc@v2
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -89,10 +88,10 @@ jobs:
clippy_no_default_features:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Set up Git credentials
run:
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected]
- uses: arduino/setup-protoc@v2
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -109,10 +108,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Set up Git credentials
run:
git config --global --replace-all "url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" ssh://[email protected]
- uses: arduino/setup-protoc@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit d3cc5fe

Please sign in to comment.