forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 1
Main #532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Main #532
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| version: 2.1 | ||
| # | ||
| jobs: | ||
| build-and-test: | ||
| docker: | ||
| - image: cimg/rust:1.89.0 | ||
| steps: | ||
| - checkout | ||
| - restore_cache: | ||
| keys: | ||
| - v1-cargo-{{ checksum "Cargo.lock" }} | ||
| - v1-cargo- | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test | ||
| - save_cache: | ||
| key: v1-cargo-{{ checksum "Cargo.lock" }} | ||
| paths: | ||
| - "~/.cargo/bin" | ||
| - "~/.cargo/registry/index" | ||
| - "~/.cargo/registry/cache" | ||
| - "~/.cargo/git/db" | ||
| - "target" | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
|
|
||
| version: 2.1 | ||
| executors: | ||
| my-custom-executor: | ||
| docker: | ||
| - image: cimg/base:stable | ||
| auth: | ||
| # ensure you have first added these secrets | ||
| # visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables | ||
| username: $DOCKER_HUB_USER | ||
| password: $DOCKER_HUB_PASSWORD | ||
| jobs: | ||
| web3-defi-game-project-: | ||
|
|
||
| executor: my-custom-executor | ||
| steps: | ||
| - checkout | ||
| - run: | | ||
| # echo Hello, World! | ||
|
|
||
| workflows: | ||
| my-custom-workflow: | ||
| jobs: | ||
| - web3-defi-game-project- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| version: 2.1 | ||
| jobs: | ||
| build-and-test: | ||
| docker: | ||
| - image: cimg/rust:1.89.0 | ||
| steps: | ||
| - checkout | ||
| - restore_cache: | ||
| keys: | ||
| - v1-cargo-{{ checksum "Cargo.lock" }} | ||
| - v1-cargo- | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test | ||
| - save_cache: | ||
| key: v1-cargo-{{ checksum "Cargo.lock" }} | ||
| paths: | ||
| - "~/.cargo/bin" | ||
| - "~/.cargo/registry/index" | ||
| - "~/.cargo/registry/cache" | ||
| - "~/.cargo/git/db" | ||
| - "target" | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| version: 2.1 | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| docker: | ||
| - image: cimg/rust:1.88.0 | ||
| steps: | ||
| - checkout | ||
| - restore_cache: | ||
| keys: | ||
| - v1-cargo-{{ checksum "Cargo.lock" }} | ||
| - v1-cargo- | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test | ||
| - save_cache: | ||
| key: v1-cargo-{{ checksum "Cargo.lock" }} | ||
| paths: | ||
| - "~/.cargo/bin" | ||
| - "~/.cargo/registry/index" | ||
| - "~/.cargo/registry/cache" | ||
| - "~/.cargo/git/db" | ||
| - "target" | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test | ||
|
|
||
| workflows: | ||
| ci: | ||
| jobs: | ||
| - build-and-test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| version: 2.1 | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| docker: | ||
| - image: cimg/rust:1.89.0 | ||
| steps: | ||
| - checkout | ||
| - restore_cache: | ||
| keys: | ||
| - v1-cargo-{{ checksum "Cargo.lock" }} | ||
| - v1-cargo- | ||
| - run: | ||
| name: "Check formatting" | ||
| command: cargo fmt -- --check | ||
| - run: | ||
| name: "Run tests" | ||
| command: cargo test | ||
| - save_cache: | ||
| key: v1-cargo-{{ checksum "Cargo.lock" }} | ||
| paths: | ||
| - "~/.cargo/bin" | ||
| - "~/.cargo/registry/index" | ||
| - "~/.cargo/registry/cache" | ||
| - "~/.cargo/git/db" | ||
| - "target" | ||
|
|
||
| workflows: | ||
| ci: | ||
| jobs: | ||
| - build-and-test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
|
|
||
| version: 2.1 | ||
| executors: | ||
| my-custom-executor: | ||
| docker: | ||
| - image: cimg/base:stable | ||
| jobs: | ||
| web3-defi-game-project-: | ||
|
|
||
| executor: my-custom-executor | ||
| steps: | ||
| - checkout | ||
| - run: | | ||
| # echo Hello, World! | ||
|
|
||
| workflows: | ||
| my-custom-workflow: | ||
| jobs: | ||
| - web3-defi-game-project- | ||
|
|
||
| jobs: | ||
| my-job: | ||
| steps: | ||
| - run: echo "Hello, world!" | ||
| - run: | ||
| command: echo "This step will automatically rerun up to 3 times if it fails with a 10 second delay between attempts" | ||
| max_auto_reruns: 3 | ||
| auto_rerun_delay: 10s | ||
|
|
||
| workflows: | ||
| dev_stage_pre-prod: | ||
| jobs: | ||
| - test_dev: | ||
| filters: # using regex filters requires the entire branch to match | ||
| branches: | ||
| only: # only branches matching the below regex filters will run | ||
| - dev | ||
| - /user-.*/ | ||
| - test_stage: | ||
| filters: | ||
| branches: | ||
| only: stage | ||
| - test_pre-prod: | ||
| filters: | ||
| branches: | ||
| only: /pre-prod(?:-.+)?$/ | ||
|
|
||
|
|
||
| build-test-deploy: | ||
| jobs: | ||
| - build: | ||
| filters: # required since `test` has tag filters AND requires `build` | ||
| tags: | ||
| only: /^config-test.*/ | ||
| - test: | ||
| requires: | ||
| - build | ||
| filters: # required since `deploy` has tag filters AND requires `test` | ||
| tags: | ||
| only: /^config-test.*/ | ||
| - deploy: | ||
| requires: | ||
| - test | ||
| filters: | ||
| tags: | ||
| only: /^config-test.*/ | ||
| branches: | ||
| ignore: /.*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
|
|
||
| version: 2.1 | ||
| executors: | ||
| my-custom-executor: | ||
| docker: | ||
| - image: cimg/base:stable | ||
| auth: | ||
| # ensure you have first added these secrets | ||
| # visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables | ||
| username: $DOCKER_HUB_USER | ||
| password: $DOCKER_HUB_PASSWORD | ||
| jobs: | ||
| web3-defi-game-project-: | ||
|
|
||
| executor: my-custom-executor | ||
| steps: | ||
| - checkout | ||
| - run: | | ||
| # echo Hello, World! | ||
|
|
||
| workflows: | ||
| my-custom-workflow: | ||
| jobs: | ||
| - web3-defi-game-project- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| CounterTest:testFuzz_SetNumber(uint256) (runs: 256, μ: 30177, ~: 32354) | ||
| CounterTest:testFuzz_SetNumber(uint256) (runs: 256, μ: 30410, ~: 32354) | ||
| CounterTest:test_Increment() (gas: 31851) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.