From 8f9931d285598ca23e4a40c765156e3019e45924 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sun, 19 Oct 2025 08:16:16 -0500 Subject: [PATCH] workflow/lint: cache DNF (hopefully) --- .forgejo/workflows/lint.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 95fc0cf..fbaf511 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -15,6 +15,13 @@ jobs: image: fedora:42 # lock to *latest stable*; rawhide/next is 'latest' tag steps: + - name: cache '/var/cache/dnf' + id: cache-dnf + uses: actions/cache@v4 + with: + path: /var/cache/dnf + key: zfs_dkms-dnf + - name: requirements run: | echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf