mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-11-23 12:27:50 +01:00
feat(ci/cd): Cache apt install cargo
This commit is contained in:
parent
f3d58ee8ca
commit
98027a06f7
6
.github/workflows/stylua.yml
vendored
6
.github/workflows/stylua.yml
vendored
@ -4,8 +4,12 @@ jobs:
|
|||||||
StyLuacheck:
|
StyLuacheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Update repositories
|
||||||
|
run: sudo apt update
|
||||||
- name: Install cargo
|
- 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
|
- name: Install StyLua from crates.io
|
||||||
uses: baptiste0928/cargo-install@v3
|
uses: baptiste0928/cargo-install@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user