Fix short tests. #8850
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: Check CLI.md files | |
on: | |
pull_request: | |
branches: [ master, rc/*, feat/* ] | |
types: [opened, ready_for_review] | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
runs-on: [ubuntu-latest] | |
runs-on: ${{ matrix.runs-on }} | |
name: Check CLI.md | |
steps: | |
- name: Set up Go 1.20.7 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.7 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
if [ -f Gopkg.toml ]; then | |
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | |
dep ensure | |
fi | |
- name: Check | |
run: | | |
make check-cli-md |