ADD env to steps
This commit is contained in:
parent
c2aa4b82e5
commit
c93003055c
12
.github/workflows/test_workflow.yml
vendored
12
.github/workflows/test_workflow.yml
vendored
@ -8,11 +8,11 @@ on:
|
|||||||
- '**.go'
|
- '**.go'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
env:
|
|
||||||
TOKEN: ${{ secrets.TOKEN }}
|
|
||||||
USERNAME: ${{ vars.USERNAME }}
|
|
||||||
TAG_VERSION: ${{ github.ref_name }}
|
|
||||||
test:
|
test:
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -27,6 +27,10 @@ jobs:
|
|||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
vulnCheck:
|
vulnCheck:
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout Code
|
- name: checkout Code
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user