mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 11:08:38 +03:00
28 lines
697 B
YAML
28 lines
697 B
YAML
name: init-rust
|
|
description: prepare runner for rust related tasks
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup Nightly
|
|
if: runner.os == 'Windows'
|
|
shell: bash
|
|
run: |
|
|
mv rust-toolchain.toml.windows rust-toolchain.toml
|
|
- name: Setup Stable
|
|
if: runner.os != 'Windows'
|
|
shell: bash
|
|
run: |
|
|
mv rust-toolchain.toml.stable rust-toolchain.toml
|
|
- 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
|