mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-20 08:01:46 +03:00
25 lines
622 B
YAML
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
|