test added workflow for validate
This commit is contained in:
parent
79b32e3770
commit
cedb694f7d
@ -8,8 +8,28 @@ on:
|
||||
- 'staging'
|
||||
|
||||
jobs:
|
||||
Validate:
|
||||
runs-on: [ hubstaging ]
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: http://gitea.pena:3000/PenaDevops/actions.git/checkout@v1
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.23'
|
||||
|
||||
- name: Run Validator
|
||||
run: |
|
||||
cd cmd/validator
|
||||
go build -o validator .
|
||||
./validator
|
||||
# ошибка если возникла то прервать пайплайн
|
||||
env:
|
||||
|
||||
CreateImage:
|
||||
runs-on: [hubstaging]
|
||||
needs: Validate
|
||||
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4-p7
|
||||
with:
|
||||
runner: hubstaging
|
||||
|
Loading…
Reference in New Issue
Block a user