From 6cb3eb0ca9e7f4433ede725ac214012b0a222f06 Mon Sep 17 00:00:00 2001 From: 0xdeo <150629966+0xdeo@users.noreply.github.com> Date: Fri, 2 Feb 2024 02:08:16 -0500 Subject: [PATCH] fix: env instead of jobs (#53) Co-authored-by: Dristpunk --- .github/workflows/ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24c3ea04..e7b79eeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ concurrency: group: ${{github.workflow}}-${{github.ref}} cancel-in-progress: true +env: + MAINNET_RPC: ${{ secrets.MAINNET_RPC }} + SEPOLIA_RPC: ${{ secrets.SEPOLIA_RPC }} + jobs: unit-tests: name: Run Unit Tests @@ -57,13 +61,6 @@ jobs: - name: Precompile using 0.8.14 and via-ir=false run: yarn build - - name: Create env file - run: | - touch .env - echo MAINNET_RPC="${{ secrets.MAINNET_RPC }}" >> .env - echo SEPOLIA_RPC="${{ secrets.SEPOLIA_RPC }}" >> .env - cat .env - - name: Run tests run: yarn test:integration