Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Apr 9, 2024
1 parent 6034a6b commit 090ff54
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@ on:
description: the command responsible for running the test
type: string
required: false
secrets:
RPC_MAINNET:
required: false
RPC_POLYGON:
required: false
RPC_AVALANCHE:
required: false
RPC_OPTIMISM:
required: false
RPC_ARBITRUM:
required: false
COMMENT_PAT:
required: false

jobs:
test:
Expand All @@ -37,23 +24,11 @@ jobs:
with:
submodules: recursive

- name: Setup env
run: |
if [[ "${{ secrets.RPC_MAINNET }}" != "" ]] ; then echo "RPC_MAINNET=${{ secrets.RPC_MAINNET }}" >> $GITHUB_ENV ; fi
if [[ "${{ secrets.RPC_POLYGON }}" != "" ]] ; then echo "RPC_POLYGON=${{ secrets.RPC_POLYGON }}" >> $GITHUB_ENV ; fi
if [[ "${{ secrets.RPC_AVALANCHE }}" != "" ]] ; then echo "RPC_AVALANCHE=${{ secrets.RPC_AVALANCHE }}" >> $GITHUB_ENV ; fi
if [[ "${{ secrets.RPC_OPTIMISM }}" != "" ]] ; then echo "RPC_OPTIMISM=${{ secrets.RPC_OPTIMISM }}" >> $GITHUB_ENV ; fi
if [[ "${{ secrets.RPC_ARBITRUM }}" != "" ]] ; then echo "RPC_ARBITRUM=${{ secrets.RPC_ARBITRUM }}" >> $GITHUB_ENV ; fi
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Copy .env
run: |
cp .env.example .env 2> /dev/null || :
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down

0 comments on commit 090ff54

Please sign in to comment.