Skip to content

Ditch docker from CI #547

Ditch docker from CI

Ditch docker from CI #547

Workflow file for this run

name: Doc QA
on:
push:
branches:
- main
- develop
- develop-1.9
pull_request:
branches:
- develop
- develop-1.9
concurrency:
# Here the group is defined by the head_ref of the PR
group: ${{ github.workflow }}-${{ github.head_ref }}
# Here we specify that we'll cancel any "in progress" workflow of the same group. Thus if we push, ammend a commit and push
# again the previous workflow will be cancelled, thus saving us github action build minutes and avoid any conflicts
cancel-in-progress: true
jobs:
doctor-rst:
name: Lint (DOCtor-RST)
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Create cache dir"
run: mkdir .cache
- name: "Extract base branch name"
run: echo "branch=${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
id: extract_base_branch
- name: "Cache DOCtor-RST"
uses: actions/cache@v4
with:
path: .cache
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst:1.23.0
with:
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache