From 67d0b8f92e13809dc44de01bc427c105c2302467 Mon Sep 17 00:00:00 2001 From: Martin Indra Date: Tue, 8 Aug 2023 17:39:22 +0200 Subject: [PATCH] WIP --- .github/actions/rust/action.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/actions/rust/action.yml b/.github/actions/rust/action.yml index 121a8e47..2e0ed7f7 100644 --- a/.github/actions/rust/action.yml +++ b/.github/actions/rust/action.yml @@ -11,38 +11,31 @@ inputs: runs: using: 'composite' steps: - - name: 'Linux: Dependencies' - shell: bash + - shell: bash run: | sudo apt-get update sudo apt-get install --no-install-recommends -y libasound2-dev libudev-dev - - name: 'LFS: File List' - shell: bash - run: 'git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id' + - shell: bash + run: "git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id" - - name: 'LFS: Cache' - uses: actions/cache@v3 + - uses: actions/cache@v3 with: path: .git/lfs key: rust-lfs-${{ inputs.name }}-${{ hashFiles('.lfs-assets-id') }}-v1 - - name: 'LFS: Pull' - shell: bash + - shell: bash run: git lfs pull - - name: 'Rust: Toolchain' - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@stable id: rust-toolchain with: components: ${{ inputs.components }} - - name: 'Rust: Versions' - shell: bash + - shell: bash run: rustc --version && cargo --version - - name: 'Rust: Cache' - uses: actions/cache@v3 + - uses: actions/cache@v3 id: rust-cache with: path: |