From f395433343173b373288a53361e90c6b34ece208 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 16 Jun 2024 16:38:35 +0200 Subject: [PATCH] Update rust toolchain to 1.79 (#176) Closes #174 Reviewed-on: https://git.thenineworlds.net/wojtek/musichoard/pulls/176 --- .gitea/images/Dockerfile | 2 +- .gitea/workflows/gitea-ci.yaml | 3 ++- README.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/images/Dockerfile b/.gitea/images/Dockerfile index 069c3de..08c03a3 100644 --- a/.gitea/images/Dockerfile +++ b/.gitea/images/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/rust:1.75 +FROM docker.io/library/rust:1.79 RUN rustup component add \ clippy \ diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 256d779..1365757 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -13,7 +13,7 @@ env: jobs: build_and_test: name: Build and Test - container: docker.io/drrobot/musichoard-ci:rust-1.75 + container: docker.io/drrobot/musichoard-ci:rust-1.79 env: BEETSDIR: ./ LLVM_PROFILE_FILE: target/debug/profraw/musichoard-%p-%m.profraw @@ -37,6 +37,7 @@ jobs: --ignore "tests/*" --ignore "src/main.rs" --ignore "src/bin/musichoard-edit.rs" + --excl-line "^#\[derive" --excl-start "GRCOV_EXCL_START|mod tests \{" --excl-stop "GRCOV_EXCL_STOP" --output-path ./target/debug/coverage/ diff --git a/README.md b/README.md index 457e635..e88046b 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ grcov codecov/debug/profraw \ --ignore "tests/*" \ --ignore "src/main.rs" \ --ignore "src/bin/musichoard-edit.rs" \ + --excl-line "^#\[derive" \ --excl-start "GRCOV_EXCL_START|mod tests \{" \ --excl-stop "GRCOV_EXCL_STOP" \ --output-path ./codecov/debug/coverage/