diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ade069..4d3f8c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, windows-2019, macos-11] + os: [ubuntu-20.04, windows-2019, macos-13] cibw-build-prefix: ['*'] include: - os: ubuntu-20.04 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0810d1..1491661 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,17 +18,17 @@ jobs: strategy: matrix: python-version: ["3.7"] - os: ["ubuntu-latest", "windows-latest", "macos-latest"] + os: [ubuntu-20.04, windows-2019, macos-13] include: # set OS-specific cache paths - - os: ubuntu-latest + - os: ubuntu-20.04 path: ~/.cache/pip - - os: windows-latest + - os: windows-2019 path: ~\AppData\Local\pip\Cache - - os: macos-latest + - os: macos-13 path: ~/Library/Caches/pip # more combinations: - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: "pypy3.9" path: ~/.cache/pip steps: @@ -46,14 +46,14 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-rust-v3-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-rust-v4-${{ hashFiles('**/Cargo.lock') }} - name: Restore Python/pip cache uses: actions/cache/restore@v3 with: path: ${{ matrix.path }} - key: ${{ runner.os }}-python-v2-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-python-v3-${{ hashFiles('**/requirements.txt') }} restore-keys: | - ${{ runner.os }}-python-v2- + ${{ runner.os }}-python-v3- - name: Install dependencies run: | python -m pip install --upgrade pip @@ -77,10 +77,10 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-rust-v3-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-rust-v4-${{ hashFiles('**/Cargo.lock') }} - name: Save Python/pip cache uses: actions/cache/save@v3 if: always() with: path: ${{ matrix.path }} - key: ${{ runner.os }}-python-v2-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-python-v3-${{ hashFiles('**/requirements.txt') }}