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

Commit

Permalink
Configure auth token instead of submodule on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed May 2, 2024
1 parent 905aed4 commit 40c92a7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 21 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cw-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
run: |
git config --global --replace-all \
"url.https://${{ secrets.AUTH_TOKEN }}@github.com.insteadOf" \
ssh://[email protected]
- uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/risc0-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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-risczero
Expand Down
40 changes: 25 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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 @@ -75,9 +77,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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 @@ -93,9 +97,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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 @@ -112,9 +118,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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 @@ -132,9 +140,11 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.AUTH_TOKEN }}
- name: Set up Git credentials for private repo
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 40c92a7

Please sign in to comment.