mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-28 11:02:34 +01:00
feat(ci/cd): Cache apt install cargo
This commit is contained in:
parent
f3d58ee8ca
commit
98027a06f7
1 changed files with 5 additions and 1 deletions
6
.github/workflows/stylua.yml
vendored
6
.github/workflows/stylua.yml
vendored
|
@ -4,8 +4,12 @@ jobs:
|
|||
StyLuacheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update repositories
|
||||
run: sudo apt update
|
||||
- name: Install cargo
|
||||
run: sudo apt update && sudo apt install -y cargo
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
packages: cargo
|
||||
|
||||
- name: Install StyLua from crates.io
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
|
|
Loading…
Reference in a new issue