From ba7a9c053d1e076aa28c6c6049b695980ef33a3a Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 26 Apr 2023 15:52:47 +0200 Subject: [PATCH] use rust image that has cargo-hack pre-installed from https://github.com/neondatabase/build/pull/53 --- .github/workflows/build_and_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index be288c2fc75a..0f7774c00722 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -86,7 +86,9 @@ jobs: check-codestyle-rust: runs-on: [ self-hosted, gen3, large ] container: - image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/rust:pinned + # test with image from https://github.com/neondatabase/build/actions/runs/4809401522/jobs/8560593772 + #image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/rust:pinned + image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/rust:4809401522-amd64 options: --init steps: @@ -111,8 +113,6 @@ jobs: - name: Get postgres headers run: make postgres-headers -j$(nproc) - - uses: taiki-e/install-action@cargo-hack - # cargo hack runs the given cargo subcommand (clippy in this case) for all feature combinations. # This will catch compiler & clippy warnings in all feature combinations. # TODO: use cargo hack for build and test as well, but, that's quite expensive.