From 2cff79810ac5e92653956b355d89393f9ad6a5f5 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Tue, 29 Nov 2022 11:01:42 +0100 Subject: [PATCH] ci: Add tags to codecov reports (#121) * Add tags to codecov reports * Trigger CI when workflows definitions are updated * Trigger CI * Fix TS workflow * Fix codecov tags => flags --- .github/workflows/go.yml | 2 ++ .github/workflows/rust.yml | 2 ++ .github/workflows/typescript.yml | 1 + go/Makefile | 1 + rust/README.md | 1 + 5 files changed, 7 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d51469d9..c01405bb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - go/** + - .github/workflows/go.yml push: branches: - master @@ -58,5 +59,6 @@ jobs: uses: codecov/codecov-action@v3 with: files: go/coverage.txt + flags: go fail_ci_if_error: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7da78c78..aa6100d3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - rust/** + - .github/workflows/rust.yml push: branches: - master @@ -97,4 +98,5 @@ jobs: uses: codecov/codecov-action@v3 with: files: rust/lcov.info + flags: rust fail_ci_if_error: true diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 9ba6516a..4ed8f188 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - js/** + - .github/workflows/typescript.yml push: branches: - master diff --git a/go/Makefile b/go/Makefile index c0406cf7..3bdecb02 100644 --- a/go/Makefile +++ b/go/Makefile @@ -40,3 +40,4 @@ format: $(golangci_lint_cmd) run --fix .PHONY: format + diff --git a/rust/README.md b/rust/README.md index 2b3928bb..60e1cf69 100644 --- a/rust/README.md +++ b/rust/README.md @@ -29,3 +29,4 @@ Unless you modify the protobuf file, you can ignore this step. ## MSRV The minimum supported Rust version (MSRV) is 1.56.1. +