From 35f723d719cef984b20cbe1fdc694d77e273601b Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:26:17 +0000 Subject: [PATCH] Update CI configs to master Update lint scripts and CI configs. --- .github/workflows/test.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0193033..37983ba 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,6 +19,13 @@ on: pull_request: jobs: + get-env-vars: + name: Get Environment vars + outputs: + CODECOV_TOKEN: ${{ env.CODECOV_TOKEN }} + steps: + - run: echo "noop" + test: uses: pion/.goassets/.github/workflows/test.reusable.yml@master strategy: @@ -27,7 +34,7 @@ jobs: fail-fast: false with: go-version: ${{ matrix.go }} - codecov-token: ${{ env.CODECOV_TOKEN }} + codecov-token: ${{ needs.get-env.outputs.CODECOV_TOKEN }} test-i386: uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master @@ -42,4 +49,4 @@ jobs: uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master with: go-version: "1.22" # auto-update/latest-go-version - codecov-token: ${{ env.CODECOV_TOKEN }} + codecov-token: ${{ needs.get-env.outputs.CODECOV_TOKEN }}