From 98e9a913bbbc9b658a5c154b033d7464dfccb6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 10 Feb 2025 12:08:01 +0800 Subject: [PATCH 1/2] ci: Remove superfluous worfklow Over time, this workflow has become a slightly less featureful version of the rust-workflow. This means we're unnecessarily running a bunch of stuff in CI twice. --- .github/workflows/build.yml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 7d0041d..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -on: - push: - branches: [main] - tags: ['*'] - pull_request: - -jobs: - build: - uses: famedly/github-workflows/.github/workflows/rust.yml@main - secrets: inherit From 5199f17b1560cf8827e3d2f2e7a55393833dc182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 10 Feb 2025 12:32:39 +0800 Subject: [PATCH 2/2] fix(ci): Add `--no-tests=warn` to test args The nextest installed in our docker containers now fails by default when no tests are found. --- .github/workflows/rust-workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust-workflow.yml b/.github/workflows/rust-workflow.yml index 10cc688..b7f1122 100644 --- a/.github/workflows/rust-workflow.yml +++ b/.github/workflows/rust-workflow.yml @@ -18,3 +18,6 @@ jobs: pull-requests: write contents: read uses: famedly/backend-build-workflows/.github/workflows/rust-workflow.yml@v1 + with: + # This repository doesn't currently have any tests + testcov_args: --no-tests=warn