Add BC layer for twig_to_array
deprecation then removal
#2378
Workflow file for this run
This file contains hidden or 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: RST Linter | |
on: | |
push: | |
pull_request: | |
jobs: | |
doctor-rst: | |
name: DOCtor-RST | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create cache dir | |
run: mkdir .cache | |
- name: Extract base branch name | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_BASE_REF:=${GITHUB_REF##*/}})" | |
id: extract_base_branch | |
- name: Cache DOCtor-RST | |
uses: actions/cache@v3 | |
with: | |
path: .cache | |
key: doctor-rst-${{ steps.extract_base_branch.outputs.branch }} | |
- name: DOCtor-RST | |
uses: docker://oskarstark/doctor-rst | |
with: | |
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache |