Bump scrapy from 2.6.1 to 2.11.2 #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
jobs: | |
Safety: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.7 | |
- name: Install Pipenv | |
uses: dschep/install-pipenv-action@v1 | |
- name: Install Safety | |
run: pip install safety | |
- name: Check dependencies | |
run: pipenv lock --dev --requirements | safety check --stdin | |
Linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/[email protected] | |
- name: Hash Python version | |
id: hash | |
run: echo ::set-output name=hash::$(python --version | sha256sum | cut -d' ' -f1) | |
- name: Restore cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/pre-commit | |
key: pre-commit|${{ steps.hash.outputs.hash }}|${{ hashFiles('.pre-commit-config.yaml') }} | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] |