mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-25 07:11:07 +01:00
20 lines
506 B
YAML
20 lines
506 B
YAML
name: Install rust
|
|
description: Installs the latest version of rust, rustfmt & clippy
|
|
|
|
inputs:
|
|
targets:
|
|
description: Comma-separated list of target triples to install for this toolchain
|
|
default: x86_64-unknown-linux-gnu
|
|
required: false
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: install rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
targets: ${{ inputs.targets }}
|
|
|
|
- name: cache dependencies
|
|
uses: Swatinem/rust-cache@v2
|