gitbutler/.github/actions/init-env-rust/action.yaml
2024-03-01 13:00:31 +01:00

25 lines
622 B
YAML

name: init-rust
description: prepare runner for rust related tasks
runs:
using: "composite"
steps:
- name: Cache rust dependencies
if: runner.name != 'ScottsMacStudio' # internet in berlin is very slow
uses: Swatinem/rust-cache@v2
with:
prefix-key: gitbutler-client
shared-key: rust
- name: Check versions
shell: bash
run: |
rustc --version
cargo --version
cargo fmt --version
cargo clippy --version
git --version
which git-upload-pack
which git-upload-archive
which git-receive-pack
ssh -V