Skip to content

ci: release helm chars when push tags (#34) #27

ci: release helm chars when push tags (#34)

ci: release helm chars when push tags (#34) #27

name: UT and Upload Coverage
on:
workflow_dispatch:
push:
paths-ignore:
- '**.md'
- '.gitignore'
env:
GO111MODULE: on
GONOSUMDB: "*"
GOSUMDB: off
jobs:
UT:
name: unit test
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"] # "macOS-latest"
go: ["1.18.x"]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: WillAbides/[email protected]
with:
go-version: ${{ matrix.go }}
- name: Run gotest
run: |
go mod tidy
make gotest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3