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: |