Skip to content

new post: migrate posts from PyCon TW blogger #79

new post: migrate posts from PyCon TW blogger

new post: migrate posts from PyCon TW blogger #79

Workflow file for this run

name: New pull request received
on:
pull_request:
workflow_dispatch:
inputs:
git_rev:
description: 'git revision'
required: false
default: ''
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@main
with:
fetch-depth: 0
ref: '${{ github.event.inputs.git_rev }}'
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -U pip pipenv
pipenv install --dev
- name: Check Python coding style
run: |
pipenv run inv style
- name: Check whether pelican local pages is buildable
run: |
pipenv run inv build
- name: Check whether pelican public pages is buildable
run: |
pipenv run inv build-publish
- name: Check Python dependencies through pip-audit
run: |
pipenv run inv security-check