From 88d1fc3a7136c2e5d054298657bfd919ba74bdcb Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Sat, 3 Feb 2024 21:15:10 +0100 Subject: [PATCH 1/2] Attempt to cache LFS in GH actions --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9e6afe..2b1af1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,11 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - name: Cached LFS checkout + uses: nschloe/action-cached-lfs-checkout@v1.2.2 with: fetch-depth: 0 - lfs: true + enableCrossOsArchive: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 From ea509993493024480254209a1cf27ce1a9c19363 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Sat, 3 Feb 2024 21:23:31 +0100 Subject: [PATCH 2/2] Bump setup-python to v5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b1af1b..c8c1005 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: enableCrossOsArchive: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}