From c20210d55c5a24978bcef6d2df77865705c5c907 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk <509198+m1kola@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:56:12 +0200 Subject: [PATCH] Fix codecov-action params (#349) * `functionalities` param is no longer exist. It was used to enable file fixes to ignore common lines from coverage. This feature is now seems to be on by default. * Adding `disable_search` because we do not need for the codecov action to search for coverage files: we explicitly provide files. Signed-off-by: Mikalai Radchuk --- .github/workflows/go.yaml | 2 +- crds/zz_defs.go | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index bef993018..63387e26d 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -33,8 +33,8 @@ jobs: run: go test -v ./... -coverprofile cover.out - uses: codecov/codecov-action@v4 with: + disable_search: true files: cover.out - functionalities: fixes token: ${{ secrets.CODECOV_TOKEN }} go-apidiff: diff --git a/crds/zz_defs.go b/crds/zz_defs.go index 3fd52828d..325b05083 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -//Package crds generated by go-bindata.// sources: + //Package crds generated by go-bindata.// sources: // operators.coreos.com_catalogsources.yaml // operators.coreos.com_clusterserviceversions.yaml // operators.coreos.com_installplans.yaml @@ -311,13 +311,11 @@ var _bindata = map[string]func() (*asset, error){ // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"} // AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("foo.txt") and AssetDir("notexist") would return an error