From b6ca357377a4f39ca4167a4cc23a8c8a214c8262 Mon Sep 17 00:00:00 2001 From: krzywon Date: Fri, 24 May 2024 15:55:14 -0400 Subject: [PATCH] Update ci to remove py3.9 support and use latest actions versions of setup-python and checkout --- .github/workflows/test.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f95a0d..3c510f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,33 +14,22 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11'] fail-fast: false steps: - name: Obtain SasData source from git - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - ### Caching of pip downloads and local wheel builds - - name: Get pip cache dir - id: pip-cache - run: | - echo "name={$(pip cache dir)}" >> $GITHUB_OUTPUT - - - name: Obtain pip cache (Linux) - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.name }} - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/test.yml') }} - restore-keys: | - ${{ runner.os }}-pip-${{ matrix.python-version }}- - ${{ runner.os }}-pip- + cache: 'pip' + cache-dependency-path: | + **/ci.yml + **/requirements*.txt ### Installation of build-dependencies