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 33
33
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
34
34
jobs :
35
35
# This workflow contains a single job called "build"
36
- build :
36
+ e2e-tests :
37
37
# The type of runner that the job will run on
38
38
runs-on : ubuntu-latest
39
39
Original file line number Diff line number Diff line change 13
13
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14
14
jobs :
15
15
# This workflow contains a single job called "build"
16
- fmt :
16
+ docs :
17
17
# The type of runner that the job will run on
18
18
runs-on : ubuntu-latest
19
19
Original file line number Diff line number Diff line change 10
10
tags : v*
11
11
12
12
jobs :
13
- build :
13
+ sync :
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
Original file line number Diff line number Diff line change 37
37
run : |
38
38
tfproviderlint \
39
39
-c 1 \
40
- -AT001 \
41
40
-AT002 \
42
41
-AT005 \
43
42
-AT006 \
Original file line number Diff line number Diff line change 13
13
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14
14
jobs :
15
15
# This workflow contains a single job called "build"
16
- build :
16
+ unit-tests :
17
17
# The type of runner that the job will run on
18
18
runs-on : ubuntu-latest
19
19
26
26
ref : ${{ github.event.pull_request.head.sha }}
27
27
28
28
# Runs a set of commands using the runners shell
29
- - name : MR INFO
29
+ - name : unit
30
30
run : go test -v ./tencentcloud -test.run 'TestProvider'
You can’t perform that action at this time.
0 commit comments