Skip to content

build(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.35.0 #170

build(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.35.0

build(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.35.0 #170

Workflow file for this run

name: check
# restricting branches prevents jobs from being run twice since
# a push to a pull request triggers two events.
on:
workflow_dispatch:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
build: # --------------------------------------------------------------------
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
cache: pip
- name: set Material for MkDocs version
run: echo "MKM_VER=$(cat .mkdocs-material.version)" >> $GITHUB_ENV
- name: install Material for MkDocs and dependencies
run: |
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@${MKM_VER}
pip install -r requirements.txt
- name: build site
run: mkdocs build --strict
yamllint: # ----------------------------------------------------------------
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: list changed yaml files
id: changedfiles
uses: tj-actions/changed-files@v41
with:
files: |
**.yml
**.yaml
- name: lint yaml files
uses: ibiqlik/action-yamllint@v3
if: steps.changedfiles.outputs.any_changed == 'true'
with:
file_or_dir: ${{ steps.changedfiles.outputs.all_changed_files }}
config_file: .github/workflows/config/yamllint.yml
mdlint: # ----------------------------------------------------------------
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: list changed markdown files
id: changedfiles
uses: tj-actions/changed-files@v41
with:
files: '**.md'
- name: lint markdown files
uses: nosborn/[email protected]
if: steps.changedfiles.outputs.any_changed == 'true'
with:
files: ${{ steps.changedfiles.outputs.all_changed_files }}
config_file: .github/workflows/config/markdownlint.yml
spellcheck: # ----------------------------------------------------------------
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: list changed markdown files
id: changedfiles
uses: tj-actions/changed-files@v41
with:
files: '**.md'
- uses: rojopolis/[email protected]
if: steps.changedfiles.outputs.any_changed == 'true'
with:
source_files: ${{ steps.changedfiles.outputs.all_changed_files }}
config_path: .github/workflows/config/spellcheck.yml
task_name: markdown
# linkcheck: # -------------------------------------------------------------
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v4