File tree Expand file tree Collapse file tree 7 files changed +55
-6
lines changed
Expand file tree Collapse file tree 7 files changed +55
-6
lines changed Original file line number Diff line number Diff line change 1+ issues :
2+ max-per-linter : 0
3+ max-same-issues : 0
4+
5+ linters :
6+ disable-all : true
7+ enable :
8+ - gofmt
9+
10+ run :
11+ timeout : 30m
Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : changelog-lint
4+
5+ # Controls when the workflow will run
6+ on :
7+ pull_request :
8+ paths :
9+ - .changelog/*
10+ - CHANGELOG.md
11+
12+ # Allows you to run this workflow manually from the Actions tab
13+ workflow_dispatch :
14+
15+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
16+ jobs :
17+ # This workflow contains a single job called "build"
18+ changelog-lint :
19+ # The type of runner that the job will run on
20+ runs-on : ubuntu-latest
21+
22+ # Steps represent a sequence of tasks that will be executed as part of the job
23+ steps :
24+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+ - uses : actions/checkout@v3
26+ with :
27+ fetch-depth : 0
28+ ref : ${{ github.event.pull_request.head.sha }}
29+
30+ - uses : actions/setup-go@v3
31+ with :
32+ go-version-file : .go-version
33+
34+ - name : install misspell
35+ run : cd .ci/tools && go install github.com/client9/misspell/cmd/misspell
36+
37+ # Runs a set of commands using the runners shell
38+ - name : changelog-lint
39+ run : misspell -error -source text CHANGELOG.md .changelog
Original file line number Diff line number Diff line change 3333# A workflow run is made up of one or more jobs that can run sequentially or in parallel
3434jobs :
3535 # This workflow contains a single job called "build"
36- build :
36+ e2e-tests :
3737 # The type of runner that the job will run on
3838 runs-on : ubuntu-latest
3939
Original file line number Diff line number Diff line change 1313# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414jobs :
1515 # This workflow contains a single job called "build"
16- fmt :
16+ docs :
1717 # The type of runner that the job will run on
1818 runs-on : ubuntu-latest
1919
Original file line number Diff line number Diff line change 1010 tags : v*
1111
1212jobs :
13- build :
13+ sync :
1414 runs-on : ubuntu-latest
1515
1616 steps :
Original file line number Diff line number Diff line change 3737 run : |
3838 tfproviderlint \
3939 -c 1 \
40- -AT001 \
4140 -AT002 \
4241 -AT005 \
4342 -AT006 \
Original file line number Diff line number Diff line change 1313# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414jobs :
1515 # This workflow contains a single job called "build"
16- build :
16+ unit-tests :
1717 # The type of runner that the job will run on
1818 runs-on : ubuntu-latest
1919
2626 ref : ${{ github.event.pull_request.head.sha }}
2727
2828 # Runs a set of commands using the runners shell
29- - name : MR INFO
29+ - name : unit
3030 run : go test -v ./tencentcloud -test.run 'TestProvider'
You can’t perform that action at this time.
0 commit comments