update foundry to 2023.12.07

This commit is contained in:
Big Boss 2023-12-07 15:32:17 -06:00 committed by Jacob Heider
parent bf69d004da
commit ebad7306d6

View file

@ -1,7 +1,7 @@
distributable: distributable:
# FIXME: foundry has releases named "Nightly (YYYY-MM-DD)" # FIXME: foundry has releases named "Nightly (YYYY-MM-DD)"
# but their tags are "nightly-<sha>". # but their tags are "nightly-<sha>".
url: https://github.com/foundry-rs/foundry/archive/refs/tags/nightly-56adbe45992c4093fe23dfc3fb59eda521f90266.tar.gz url: https://github.com/foundry-rs/foundry/archive/refs/tags/nightly-54b369564937f5f5d4f2525622e8b9808b1645f6.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
# FIXME: we should use this, which will get us calver, # FIXME: we should use this, which will get us calver,
@ -10,19 +10,25 @@ versions:
# strip: # strip:
# - /^Nightly \(/ # - /^Nightly \(/
# - /\)$/ # - /\)$/
- 2023.7.16 - 2023.12.07
dependencies: dependencies:
git-scm.org: ^2 git-scm.org: ^2
build: build:
dependencies: dependencies:
rust-lang.org: ^1.56.0 # edition: 2021 rust-lang.org: ^1.74 # edition: 2021
rust-lang.org/cargo: '*' rust-lang.org/cargo: "*"
script: script:
- cargo install --path ./cli --bins $ARGS # install Forge
- cargo install --path ./anvil $ARGS - cargo install --path ./crates/forge $ARGS
- cargo install --path ./chisel $ARGS # install Cast
- cargo install --path ./crates/cast $ARGS
# install Anvil
- cargo install --path ./crates/anvil $ARGS
# install Chisel
- cargo install --path ./crates/chisel $ARGS
env: env:
ARGS: ARGS:
- --root "{{prefix}}" - --root "{{prefix}}"
@ -40,13 +46,13 @@ test:
script: script:
# forge uses git which has minimum config requirements. # forge uses git which has minimum config requirements.
- | - |
git init git init
git config user.email "hello@tea.xyz" git config user.email "hello@tea.xyz"
git config user.name "teapot" git config user.name "teapot"
# And forge init requires a clean git repo. # And forge init requires a clean git repo.
- | - |
git add -A git add -A
git commit -m "Initial commit" git commit -m "Initial commit"
- forge init hello_foundry - forge init hello_foundry
- run: forge build && forge test - run: forge build && forge test
working-directory: hello_foundry working-directory: hello_foundry