mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-10 00:18:06 +01:00
19 lines
467 B
YAML
19 lines
467 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
|
|
|
|
- name: cache dependencies
|
|
uses: Swatinem/rust-cache@v2
|