From 98027a06f74767325df18101f2aacfa9b34f389c Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Wed, 17 Apr 2024 18:21:22 +0200 Subject: [PATCH] feat(ci/cd): Cache apt install cargo --- .github/workflows/stylua.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index e97113c..c941983 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -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