ADD env to steps

This commit is contained in:
maximo tejeda 2024-11-16 22:22:54 -04:00
parent c2aa4b82e5
commit c93003055c

View File

@ -8,11 +8,11 @@ on:
- '**.go'
jobs:
test:
env:
TOKEN: ${{ secrets.TOKEN }}
USERNAME: ${{ vars.USERNAME }}
TAG_VERSION: ${{ github.ref_name }}
test:
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