chore(tiflash): update build steps for tiflash starts v8.5.0 #258
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: Pull test for packages cfg | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "packages/**" | |
jobs: | |
test-packages-cfg: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: Install tools | |
run: | | |
# install gomplate | |
GOBIN=/usr/local/bin go install github.com/hairyhenderson/gomplate/v4/cmd/[email protected] | |
gomplate --version | |
# install shelldoc to check the README.md | |
git clone https://github.com/endocode/shelldoc && \ | |
pushd shelldoc && \ | |
GOBIN=/usr/local/bin go install ./cmd/shelldoc && | |
popd && | |
rm -rf shelldoc && \ | |
# we need yq and jq. | |
yq --version | |
jq --version | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Verify the README.md | |
# run: | | |
# shelldoc run --shell `which bash` packages/README.md | |
- name: Test | |
run: | | |
chmod +x .github/scripts/ci.sh | |
./.github/scripts/ci.sh |