steps:
- - name: chown repo
+ - name: prepare repo
image: ekidd/rust-musl-builder:1.50.0
user: root
commands:
- chown 1000:1000 . -R
+ - git fetch --tags
- name: check formatting
image: rustdocker/rust:nightly
RUST_TEST_THREADS: 1
commands:
- sudo apt-get update
- - sudo apt-get -y install --no-install-recommends espeak postgresql-client
+ - sudo apt-get -y install --no-install-recommends postgresql-client
- cargo test --workspace --no-fail-fast
- name: cargo build
steps:
+ - name: prepare repo
+ image: rust:1.50-slim-buster
+ user: root
+ commands:
+ - chown 1000:1000 . -R
+ - apt update
+ - apt install --no-install-recommends --yes git
+ - git fetch --tags
+
- name: cargo test
image: rust:1.50-slim-buster
environment:
RUST_TEST_THREADS: 1
commands:
- apt-get update
- - apt-get -y install --no-install-recommends espeak postgresql-client libssl-dev pkg-config libpq-dev
+ - apt-get -y install --no-install-recommends postgresql-client libssl-dev pkg-config libpq-dev
- cargo test --workspace --no-fail-fast
- cargo build