diff --git a/.github/workflows/test_workflow.yml b/.github/workflows/test_workflow.yml index f120c89..57663fd 100644 --- a/.github/workflows/test_workflow.yml +++ b/.github/workflows/test_workflow.yml @@ -8,11 +8,11 @@ on: - '**.go' jobs: - env: - TOKEN: ${{ secrets.TOKEN }} - USERNAME: ${{ vars.USERNAME }} - TAG_VERSION: ${{ github.ref_name }} test: + env: + TOKEN: ${{ secrets.TOKEN }} + USERNAME: ${{ vars.USERNAME }} + TAG_VERSION: ${{ github.ref_name }} runs-on: ubuntu-latest steps: - name: Checkout code @@ -27,6 +27,10 @@ jobs: run: go test -v ./... vulnCheck: + env: + TOKEN: ${{ secrets.TOKEN }} + USERNAME: ${{ vars.USERNAME }} + TAG_VERSION: ${{ github.ref_name }} runs-on: ubuntu-latest steps: - name: checkout Code