diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 413230b..16bc779 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,22 +12,14 @@ jobs: runs-on: ubuntu-latest needs: lint steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.9' - - name: Cache pip dependencies - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: pip-deps-${{ runner.os }}-${{ hashFiles('requirements.txt') }} - restore-keys: | - pip-deps-${{ runner.os }}- + cache: 'pip' - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + run: pip install -r requirements.txt - name: Download spaCy model run: python -m spacy download en_core_web_sm - name: Run tests