aboutsummaryrefslogtreecommitdiffstats
path: root/.github/actions
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/actions/setup/action.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
deleted file mode 100644
index c2d9be5..0000000
--- a/.github/actions/setup/action.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-name: Setup Rust Environment
-
-inputs:
- key:
- description: Cache key
- required: true
- toolchain:
- description: Pass-through to toolchain on actions-rs
- default: stable
- required: false
- components:
- description: Pass-through to components on actions-rs
- required: false
-
-runs:
- using: composite
- steps:
- - uses: actions-rs/toolchain@v1
- id: toolchain-install
- with:
- profile: minimal
- override: true
- toolchain: ${{ inputs.toolchain }}
- components: ${{ inputs.components }}
- - uses: actions/cache@v3
- with:
- path: |
- ~/.cargo/registry/index/
- ~/.cargo/registry/cache/
- ~/.cargo/git/db/
- target/
- key: ${{ inputs.key }}-${{ runner.os }}-${{ inputs.toolchain }}-${{ steps.toolchain-install.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}
- restore-keys: |
- ${{ inputs.key }}-${{ runner.os }}-${{ inputs.toolchain }}-${{ steps.toolchain-install.outputs.rustc_hash }}-
- ${{ inputs.key }}-${{ runner.os }}-${{ inputs.toolchain }}-