diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0f34ef9..d37800c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 + - name: Set up Go 1.21.6 + uses: actions/setup-go@v5 + with: + go-version: "1.21.6" + - name: Install cargo make uses: davidB/rust-cargo-make@v1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5465d0b..8a97e17 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,6 +17,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 + - name: Set up Go 1.21.6 + uses: actions/setup-go@v5 + with: + go-version: "1.21.6" + - name: Install cargo make uses: davidB/rust-cargo-make@v1 diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index db5e2d6..a44c9a6 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 + - name: Set up Go 1.21.6 + uses: actions/setup-go@v5 + with: + go-version: "1.21.6" + - name: Install cargo make uses: davidB/rust-cargo-make@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3bad716..0b5f499 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 + - name: Set up Go 1.21.6 + uses: actions/setup-go@v5 + with: + go-version: "1.21.6" + - name: Install cargo make uses: davidB/rust-cargo-make@v1 diff --git a/Makefile.toml b/Makefile.toml index ded0cf5..42462ca 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -61,7 +61,7 @@ args = ["deny", "check"] [tasks.check] toolchain = "${RUST_VERSION}" command = "cargo" -args = ["check"] +args = ["check", "--all-features"] [tasks.clippy-check] toolchain = "${NIGHTLY_VERSION}" diff --git a/coverage_grcov.Makefile.toml b/coverage_grcov.Makefile.toml index c1f87ac..76634c9 100644 --- a/coverage_grcov.Makefile.toml +++ b/coverage_grcov.Makefile.toml @@ -22,7 +22,7 @@ run_task = "test" [tasks.coverage-grcov-run-test.env] CARGO_BUILD_TARGET_DIR = "${COVERAGE_TARGET_DIRECTORY}" -RUSTFLAGS = "-Cinstrument-coverage" +RUSTFLAGS = "-Cinstrument-coverage --all-features" LLVM_PROFILE_FILE = "${COVERAGE_PROF_OUTPUT}/coverage-%p-%m.profraw" [tasks.install-grcov]