From 6c33c9a903d2cbbc53e54fcb5fd7c1d11342aeaf Mon Sep 17 00:00:00 2001 From: Saleh Mir Date: Sat, 4 Jan 2025 21:18:31 +0330 Subject: [PATCH] Update GitHub Actions workflow to support multiple OS environments and upgrade cache action version - Modified the CI workflow to include macOS and Windows in the OS matrix, enhancing cross-platform compatibility. - Upgraded the actions/cache from v2 to v3 for improved caching performance and features. - These changes improve the reliability and efficiency of the CI process. --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0816f6827..b90488c3f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,8 +18,8 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - # os: [ubuntu-latest, macos-latest, windows-latest] - os: [ubuntu-latest] + os: [ubuntu-latest, macos-latest, windows-latest] + # os: [ubuntu-latest] include: - os: ubuntu-latest path: ~/.cache/pip @@ -39,7 +39,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v3 id: cache with: path: ${{ matrix.path }}