Skip to content

build(deps): bump requests-oauthlib from 1.3.1 to 2.0.0 #340

build(deps): bump requests-oauthlib from 1.3.1 to 2.0.0

build(deps): bump requests-oauthlib from 1.3.1 to 2.0.0 #340

Workflow file for this run

name: Apply
on:
push:
jobs:
apply:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 30
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Get yarn cache
id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache python modules
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
yarn --dev
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
- name: Lint
run: |
yarn run lint
flake8
- name: Unit test (Python)
run: pytest
- name: Apply
if: github.ref == 'refs/heads/main' && success()
env:
FEMIWIKI_BOT_PASSWORD: ${{ secrets.FEMIWIKI_BOT_PASSWORD }}
run: |
git config --global core.quotepath false
python apply.py