Skip to content

feat: automate readme table #3

feat: automate readme table

feat: automate readme table #3

Workflow file for this run

name: "generate table"
on:
push:
paths:
- main
pull_request:
paths:
- "presentations/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install mdtable
run: go get moul.io/mdtable
- name: Install embedmd
run: go get github.com/campoy/embedmd
- name: Install dependencies
run: go mod download
- name: Build table
run: make build
- name: Check diff
run: git diff --exit-code || (echo "Some docs files are not formatted, please run 'make build'." && exit 1)