FIX sintax
This commit is contained in:
parent
c93003055c
commit
bbf2a8d354
37
.github/workflows/test_workflow.yml
vendored
37
.github/workflows/test_workflow.yml
vendored
@ -9,34 +9,35 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.TOKEN }}
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
USERNAME: ${{ vars.USERNAME }}
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
TAG_VERSION: ${{ github.ref_name }}
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
runs-on: ubuntu-latest
|
steps:
|
||||||
steps:
|
- name: Checkout code
|
||||||
- name: Checkout code
|
uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: test with go
|
- name: test with go
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
vulnCheck:
|
vulnCheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.TOKEN }}
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
USERNAME: ${{ vars.USERNAME }}
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
TAG_VERSION: ${{ github.ref_name }}
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: checkout Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: go vuln check
|
steps:
|
||||||
uses: golang/govulncheck-action@v1
|
- name: checkout Code
|
||||||
with:
|
uses: actions/checkout@v4
|
||||||
go-version-file: 'go.mod'
|
|
||||||
|
- name: go vuln check
|
||||||
|
uses: golang/govulncheck-action@v1
|
||||||
|
with:
|
||||||
|
go-version-file: 'go.mod'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user