This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0c2cfa
commit 29d681f
Showing
10 changed files
with
132 additions
and
166 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -46,12 +46,6 @@ jobs: | |
- name: Initialize Nix Shell | ||
run: nix-shell --run "echo Init" | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf git://github.com | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf ssh://[email protected] | ||
git config --global url."https://dl.cloudsmith.io/${{ secrets.CLOUDSMITH_ENTITLEMENT }}/".insteadOf https://dl.cloudsmith.io/basic/ | ||
- name: Cache cargo | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -61,7 +55,7 @@ jobs: | |
~/.cargo/git | ||
target | ||
# todo: add nix key, for example: nix-instantiate shell.nix | sha256sum | head -c 10 | ||
key: cape-v4-${{ hashFiles('Cargo.lock') }} | ||
key: cape-v5-${{ hashFiles('Cargo.lock') }} | ||
|
||
- name: Linting | ||
run: nix-shell --run "prepend-timestamps lint-ci" | ||
|
This file contains 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 |
---|---|---|
|
@@ -45,12 +45,6 @@ jobs: | |
- name: Initialize Nix Shell | ||
run: nix-shell --run "echo Init" | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf git://github.com | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf ssh://[email protected] | ||
git config --global url."https://dl.cloudsmith.io/${{ secrets.CLOUDSMITH_ENTITLEMENT }}/".insteadOf https://dl.cloudsmith.io/basic/ | ||
- name: Cache cargo | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -60,7 +54,7 @@ jobs: | |
~/.cargo/git | ||
target | ||
# todo: add nix key, for example: nix-instantiate shell.nix | sha256sum | head -c 10 | ||
key: cape-v3-${{ hashFiles('Cargo.lock') }} | ||
key: cape-v5-${{ hashFiles('Cargo.lock') }} | ||
|
||
- name: Run Tests | ||
run: nix-shell --run "prepend-timestamps cape-test-geth-slow" |
This file contains 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 |
---|---|---|
|
@@ -37,12 +37,6 @@ jobs: | |
- name: Initialize Nix Shell | ||
run: nix-shell --run "echo Init" | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf git://github.com | ||
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf ssh://[email protected] | ||
git config --global url."https://dl.cloudsmith.io/${{ secrets.CLOUDSMITH_ENTITLEMENT }}/".insteadOf https://dl.cloudsmith.io/basic/ | ||
- name: Cache cargo | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -52,7 +46,7 @@ jobs: | |
~/.cargo/git | ||
target | ||
# todo: add nix key, for example: nix-instantiate shell.nix | sha256sum | head -c 10 | ||
key: cape-v3-${{ hashFiles('Cargo.lock') }} | ||
key: cape-v5-${{ hashFiles('Cargo.lock') }} | ||
|
||
- name: Run Tests Against Rinkeby Testnet | ||
run: nix-shell --run "RINKEBY_MNEMONIC='${{ secrets.RINKEBY_MNEMONIC }}' RINKEBY_URL='${{ secrets.RINKEBY_ENDPOINT }}' hardhat test --network rinkeby" |
Oops, something went wrong.