docs: improve examples for alicloud_config_rule #7015
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: Testing Coverage Rate Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
pull_request_target: | |
types: | |
- opened | |
paths: | |
- .github/workflows/testing-coverage-rate.yml | |
- .go-version | |
- alicloud/*.go | |
jobs: | |
TestingCoverageRate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.x' | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Checking testing coverage rate | |
run: | | |
git diff HEAD^ HEAD > diff.out | |
go run scripts/testing_coverage_rate_check.go -fileNames="diff.out" |