diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c6e67c..5a19a10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [master, main] pull_request: - branches: [main] + branches: [master, main] jobs: build-and-test: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 991ed60..d4f657f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,8 +27,9 @@ jobs: go-version-file: common/go.mod - name: Generate coverage working-directory: common - run: go test ./... -short -coverprofile=coverage.out -covermode=atomic || true + run: go test ./... -short -coverprofile=coverage.out -covermode=atomic - uses: codecov/codecov-action@v4 + if: always() with: files: common/coverage.out flags: common