Skip to content

Commit

Permalink
use rust image that has cargo-hack pre-installed
Browse files Browse the repository at this point in the history
  • Loading branch information
problame committed Apr 26, 2023
1 parent b1c879a commit ba7a9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit ba7a9c0

Please sign in to comment.