mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-27 11:36:48 +03:00
ad3e15dae4
Instead, use it only where needed, which at this time is Windows for some nightly-only access to file-descriptors.
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.nightly 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
|