Skip to content

change trigger

change trigger #10

Workflow file for this run

# on:
# push:
# branches:
# - master
# - release/*
# pull_request:
# branches:
# - master
# - release/*
name: "Merge Build"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Go workspace
run: |
shopt -s extglob
shopt -s dotglob
shell: bash
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.11.0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19.2'
- name: Go and Helm lint check
run: make lint-all
- name: Go vet
run: make vet-all
- name: Get dependencies and build
run: make build
- name: Run unit tests with code coverage
run: make unittest
- name: Publish test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: ${{ github.workspace }}/**/report.xml
- name: Publish code coverage results
if: always()
uses: actions/upload-artifact@v3
with:
name: code-coverage
path: coverage.xml
- name: Publish build artifacts
uses: actions/upload-artifact@v3
with:
name: drop
path: ${{ github.workspace }}/artifact