Skip to content

ci: improve caching strategy #64

ci: improve caching strategy

ci: improve caching strategy #64

Workflow file for this run

name: Lint Docs
on:
push:
paths: ['**/*.md', '**/*.yml']
pull_request:
env:
REPO_NAME: ${{ github.event.repository.name }}
MOD_PATH: ~/.vmodules/vibe/
jobs:
check-docs:
runs-on: ubuntu-latest
steps:
- name: Restore Cache
uses: actions/cache/restore@v3
with:
path: |
vlang
~/.vmodules
key: ${{ runner.os }}-${{ github.sha }}
fail-on-cache-miss: true
- name: Setup V
uses: vlang/[email protected]
- name: Setup Dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libcurl4-openssl-dev
version: 1.0
- name: Check Markdown
run: v check-md -hide-warnings ${{ env.MOD_PATH }}