From 550e7761dca843ede8485926811dd9448f37fc98 Mon Sep 17 00:00:00 2001 From: nythepegasus Date: Tue, 22 Oct 2024 16:07:28 -0400 Subject: [PATCH] Fix ordering Signed-off-by: nythepegasus --- .github/workflows/lint-json.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint-json.yml b/.github/workflows/lint-json.yml index e79640d..fc62967 100644 --- a/.github/workflows/lint-json.yml +++ b/.github/workflows/lint-json.yml @@ -15,14 +15,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Cache APT packages - uses: actions/cache@v4 - with: - path: /var/cache/apt/archives - key: ${{ runner.os }}-apt-cache - restore-keys: | - ${{ runner.os }}-apt-cache - - name: Update APT cache run: sudo apt-get update @@ -37,3 +29,11 @@ jobs: else echo "servers.json is valid" fi + + - name: Cache APT packages + uses: actions/cache@v4 + with: + path: /var/cache/apt/archives + key: ${{ runner.os }}-apt-cache + restore-keys: | + ${{ runner.os }}-apt-cache