Skip to content

Commit

Permalink
Update action versions used on CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Aug 14, 2024
1 parent 786d8dd commit 35056d5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ jobs:
OS: 'linux'
timeout-minutes: 2
steps:
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: static-pip-${{ hashFiles('setup.py') }}
restore-keys: static-pip-
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# TODO: check with Python 3, but need to fix the
# errors first
python-version: '3.8'
architecture: 'x64'
- run: python -m pip install --upgrade pip setuptools
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
PYTHON_VERSION: ['3.10', '3.9', '3.8']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
PYTHON_VERSION: ['3.10', '3.9', '3.8']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/Library/Caches/pip
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
PYTHON_VERSION: ['3.10', '3.9', '3.8']
timeout-minutes: 10
steps:
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.PYTHON_VERSION }}
architecture: 'x64'
Expand Down

0 comments on commit 35056d5

Please sign in to comment.