chore: fix old attribute syntax notices with latest V #25
Workflow file for this run
This file contains 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: Lint Docs | |
on: | |
push: | |
branches: [main] | |
paths: ['**/*.md', '**/*.yml'] | |
pull_request: | |
env: | |
REPO_NAME: ${{ github.event.repository.name }} | |
MOD_PATH: ~/.vmodules/dialog | |
jobs: | |
check-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup V | |
uses: vlang/[email protected] | |
- name: Setup Dependencies | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libgtk-3-dev libwebkit2gtk-4.0-dev | |
version: 1.0 | |
- name: Checkout ${{ env.REPO_NAME }} | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ env.REPO_NAME }} | |
submodules: true | |
- name: Copy ${{ env.REPO_NAME }} to .vmodules | |
run: cp -r ${{ env.REPO_NAME }} ${{ env.MOD_PATH }} | |
- name: Check Markdown | |
run: v check-md ${{ env.REPO_NAME }}/README.md |