Skip to content

Commit

Permalink
update w
Browse files Browse the repository at this point in the history
  • Loading branch information
leohhhn committed Sep 26, 2024
1 parent 0ef0ed5 commit 2883aa3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/table-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "generate table"
on:
push:
paths:
- main
- "presentations/**"
pull_request:
paths:
- "presentations/**"
Expand All @@ -22,16 +22,18 @@ jobs:
go-version: '1.22'

- name: Install mdtable
run: go get moul.io/mdtable
run: go install moul.io/mdtable@latest

- name: Install embedmd
run: go get github.com/campoy/embedmd
run: go install github.com/campoy/embedmd@latest

- 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)
- name: Check for changes in docs
run: |
git diff
git diff --exit-code || (echo "Some docs files are not formatted, please run 'make build'." && exit 1)

0 comments on commit 2883aa3

Please sign in to comment.