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

Commit

Permalink
Remove SSH git references
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancients authored and Ancient123 committed Mar 5, 2022
1 parent c0c2cfa commit 29d681f
Show file tree
Hide file tree
Showing 10 changed files with 132 additions and 166 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/slow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
8 changes: 1 addition & 7 deletions .github/workflows/testnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Loading

0 comments on commit 29d681f

Please sign in to comment.