From d8a4bdb9cef958d0a599ff70e5eec66c60e8fa23 Mon Sep 17 00:00:00 2001 From: Nick Italiano Date: Fri, 4 Oct 2024 15:07:41 -0400 Subject: [PATCH] update unit tests to read from vars instead of secrets (#190) --- .github/workflows/main.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ddae93a5..5268842f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,13 +74,8 @@ jobs: - name: Install dependencies run: go mod download - - name: Set environment variables from secrets - run: | - echo "SUPERSIM_RPC_URL_OP=$SUPERSIM_RPC_URL_OP" >> .env - echo "SUPERSIM_RPC_URL_BASE=$SUPERSIM_RPC_URL_BASE" >> .env - env: - SUPERSIM_RPC_URL_OP: ${{ secrets.SUPERSIM_RPC_URL_OP }} - SUPERSIM_RPC_URL_BASE: ${{ secrets.SUPERSIM_RPC_URL_BASE }} - - name: Run tests run: just test-go + env: + SUPERSIM_RPC_URL_OP: ${{ vars.SUPERSIM_RPC_URL_OP }} + SUPERSIM_RPC_URL_BASE: ${{ vars.SUPERSIM_RPC_URL_BASE }}