Skip to content

Downgrade to codecov/codecov-action@v3 (#132) #183

Downgrade to codecov/codecov-action@v3 (#132)

Downgrade to codecov/codecov-action@v3 (#132) #183

Workflow file for this run

name: unit-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unit-test:
name: unit-test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Setup kubebuilder
run: |
make kubebuilder
- name: Build
run: |
make docker-build
- name: Test
run: |
make test
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.txt