Skip to content

Commit 95f1a4d

Browse files
authored
chore: public repo (#130)
chore: open
1 parent 157ae3e commit 95f1a4d

File tree

8 files changed

+20
-118
lines changed

8 files changed

+20
-118
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ jobs:
4444
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
4545
with:
4646
toolchain: stable
47-
- name: Configure Git to use GITHUB_TOKEN for GitHub
48-
env:
49-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
50-
shell: bash
51-
run: |
52-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
53-
echo "$authenticated_url"
54-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
5547
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
5648
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
5749
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
@@ -81,14 +73,6 @@ jobs:
8173
with:
8274
toolchain: nightly
8375
components: clippy
84-
- name: Configure Git to use GITHUB_TOKEN for GitHub
85-
env:
86-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
87-
shell: bash
88-
run: |
89-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
90-
echo "$authenticated_url"
91-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
9276
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
9377
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
9478
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
@@ -123,14 +107,6 @@ jobs:
123107
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
124108
with:
125109
toolchain: stable
126-
- name: Configure Git to use GITHUB_TOKEN for GitHub
127-
env:
128-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
129-
shell: bash
130-
run: |
131-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
132-
echo "$authenticated_url"
133-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
134110
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
135111
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
136112
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
@@ -150,14 +126,6 @@ jobs:
150126
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
151127
with:
152128
toolchain: stable
153-
- name: Configure Git to use GITHUB_TOKEN for GitHub
154-
env:
155-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
156-
shell: bash
157-
run: |
158-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
159-
echo "$authenticated_url"
160-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
161129
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
162130
- uses: taiki-e/install-action@763e3324d4fd026c9bd284c504378585777a87d5 # v2
163131
with:
@@ -178,14 +146,6 @@ jobs:
178146
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
179147
with:
180148
toolchain: nightly
181-
- name: Configure Git to use GITHUB_TOKEN for GitHub
182-
env:
183-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
184-
shell: bash
185-
run: |
186-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
187-
echo "$authenticated_url"
188-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
189149
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad #
190150
- uses: taiki-e/install-action@cargo-deny
191151
- run: cargo deny --all-features check all

.github/workflows/release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,6 @@ jobs:
132132
- run: printf 'RUSTC_WRAPPER=sccache\n' >> "$GITHUB_ENV"
133133
if: ${{ contains(matrix.runner, 'depot') }}
134134

135-
# Make [email protected]:* rewrite to https://x-access-token:<token>@github.com/*
136-
- name: Configure Git to use GITHUB_TOKEN for GitHub
137-
env:
138-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
139-
shell: bash
140-
run: |
141-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
142-
echo "$authenticated_url"
143-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
144-
# git config --global url."$authenticated_url".insteadOf "[email protected]:"
145-
146135
- name: Apple M1 setup
147136
if: matrix.target == 'aarch64-apple-darwin'
148137
run: |

.github/workflows/tempo-check.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ jobs:
3030
with:
3131
toolchain: stable
3232

33-
- name: Configure Git to use GITHUB_TOKEN for GitHub
34-
env:
35-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
36-
shell: bash
37-
run: |
38-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
39-
echo "$authenticated_url"
40-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
41-
4233
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
4334
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
4435

@@ -52,15 +43,13 @@ jobs:
5243
env:
5344
TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }}
5445
VERIFIER_URL: ${{ secrets.VERIFIER_URL }}
55-
TEMPO_TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
5646
run: |
5747
chmod +x ./.github/scripts/tempo-check.sh
5848
./.github/scripts/tempo-check.sh
5949
6050
- name: Run Tempo check on devnet
6151
env:
6252
TEMPO_RPC_URL: ${{ secrets.TEMPO_DEVNET_RPC_URL }}
63-
TEMPO_TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
6453
run: |
6554
chmod +x ./.github/scripts/tempo-check.sh
6655
./.github/scripts/tempo-check.sh

.github/workflows/tempo-main-check.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ jobs:
3131
with:
3232
toolchain: stable
3333

34-
- name: Configure Git to use GITHUB_TOKEN for GitHub
35-
env:
36-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
37-
shell: bash
38-
run: |
39-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
40-
echo "$authenticated_url"
41-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
42-
4334
- name: Bump to Tempo main
4435
run: |
4536
chmod +x ./.github/scripts/tempo-main-bump.sh
@@ -54,7 +45,6 @@ jobs:
5445
- name: Run Tempo check on devnet
5546
env:
5647
TEMPO_RPC_URL: ${{ secrets.TEMPO_DEVNET_RPC_URL }}
57-
TEMPO_TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
5848
run: |
5949
chmod +x ./.github/scripts/tempo-check.sh
6050
./.github/scripts/tempo-check.sh
@@ -63,7 +53,6 @@ jobs:
6353
env:
6454
TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }}
6555
VERIFIER_URL: ${{ secrets.VERIFIER_URL }}
66-
TEMPO_TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
6756
run: |
6857
chmod +x ./.github/scripts/tempo-check.sh
6958
./.github/scripts/tempo-check.sh

.github/workflows/test.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ jobs:
6464
with:
6565
toolchain: stable
6666
target: ${{ matrix.target }}
67-
- name: Configure Git to use GITHUB_TOKEN for GitHub
68-
env:
69-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
70-
shell: bash
71-
run: |
72-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
73-
echo "$authenticated_url"
74-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
7567
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
7668
- uses: taiki-e/install-action@763e3324d4fd026c9bd284c504378585777a87d5 # v2
7769
with:
@@ -83,14 +75,6 @@ jobs:
8375
uses: actions/setup-node@v6
8476
with:
8577
node-version: 24
86-
- name: Configure Git to use GITHUB_TOKEN for GitHub
87-
env:
88-
TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
89-
shell: bash
90-
run: |
91-
authenticated_url="https://${GITHUB_ACTOR}:${TOKEN}@github.com/"
92-
echo "$authenticated_url"
93-
git config --global url."$authenticated_url".insteadOf "ssh://[email protected]/"
9478
- name: Install Bun
9579
if: contains(matrix.name, 'external')
9680
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
@@ -130,5 +114,4 @@ jobs:
130114
WS_ARCHIVE_URLS: ${{ secrets.WS_ARCHIVE_URLS }}
131115
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
132116
ARBITRUM_RPC: ${{ secrets.ARBITRUM_RPC }}
133-
TEMPO_TOKEN: ${{ secrets.FOUNDRY_TEMPO_RELEASE_PAT }}
134117
run: cargo nextest run -p forge -p cast ${{ matrix.flags }}

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ revm-inspectors = { version = "0.33.0", features = ["serde"] }
294294
op-revm = { version = "14.1.0", default-features = false }
295295

296296
# tempo
297-
tempo-alloy = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
298-
tempo-contracts = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
299-
tempo-revm = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
300-
tempo-evm = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
301-
tempo-chainspec = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
302-
tempo-primitives = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
303-
tempo-precompiles = { git = "ssh://git@github.com/tempoxyz/tempo", rev = "67f98e7" }
297+
tempo-alloy = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
298+
tempo-contracts = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
299+
tempo-revm = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
300+
tempo-evm = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
301+
tempo-chainspec = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
302+
tempo-primitives = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
303+
tempo-precompiles = { git = "https://github.com/tempoxyz/tempo", rev = "67f98e7" }
304304

305305
## alloy-evm
306306
alloy-evm = "0.24.2"

crates/forge/src/cmd/init.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ use foundry_cli::utils::Git;
55
use foundry_common::fs;
66
use foundry_compilers::artifacts::remappings::Remapping;
77
use foundry_config::Config;
8-
use std::{
9-
env,
10-
path::{Path, PathBuf},
11-
};
8+
use std::path::{Path, PathBuf};
129
use yansi::Paint;
1310

1411
/// Supported networks for `forge init --network <NETWORK>`
@@ -263,12 +260,7 @@ impl InitArgs {
263260
sh_warn!("\"lib/tempo-std\" already exists, skipping install...")?;
264261
self.install.install(&mut config, vec![]).await?;
265262
} else {
266-
let token = env::var("TEMPO_TOKEN").unwrap_or_default();
267-
let dep = if token.is_empty() {
268-
"[email protected]:tempoxyz/tempo-std.git".parse()?
269-
} else {
270-
format!("https://{token}@github.com/tempoxyz/tempo-std").parse()?
271-
};
263+
let dep = "https://github.com/tempoxyz/tempo-std".parse()?;
272264
self.install.install(&mut config, vec![dep]).await?;
273265
}
274266
}

0 commit comments

Comments
 (0)