Skip to content

Commit

Permalink
Update action versions used on CIs (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 authored Aug 14, 2024
1 parent 786d8dd commit eab2610
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@ 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
- run: pip install -e .[test]
- name: Pylint checks
run: pylint pylsp_jsonrpc test
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,16 @@ 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'
- run: python -m pip install --upgrade pip setuptools
- run: pip install -e .[all,test]
- run: pytest -v test/
# Enable this if SSH debugging is required
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:
name: Mac Py${{ matrix.PYTHON_VERSION }}
runs-on: macos-latest
runs-on: macos-13
env:
CI: 'true'
OS: 'macos'
Expand All @@ -23,17 +23,16 @@ 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'
- run: python -m pip install --upgrade pip setuptools
- run: pip install -e .[all,test]
- run: pytest -v test/
# Enable this if SSH debugging is required
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ 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'
- run: python -m pip install --upgrade pip setuptools
- run: pip install -e .[all,test]
- run: pytest -v test/

0 comments on commit eab2610

Please sign in to comment.