mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-14 02:18:09 +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
|