File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- Circle CI
4
4
- Travis CI
5
+ - Github Actions
5
6
- BuildKite CI
6
7
- Semaphore CI
7
8
8
9
Is your favorite CI provider missing? Just create an issue
9
10
[ here] ( https://github.com/codechecks/monorepo ) . You can implement it on your own, read this
10
11
[ quick guide] ( adding-new-ci.md )
11
12
13
+ ## Github Actions
14
+
15
+ 1 . Provide CC_SECRET value in your projects settings
16
+ 2 . Pass it explicitly to the job.
17
+
18
+ Example:
19
+
20
+ ``` yml
21
+ on : push
22
+ name : Mainflow
23
+ jobs :
24
+ build-and-codechecks :
25
+ name : build and run codechecks
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@master
29
+ - name : yarn
30
+ run : |
31
+ yarn install --frozen-lockfile
32
+
33
+ npx codechecks
34
+ env :
35
+ CC_SECRET : ${{ secrets.CC_SECRET }}
36
+ ` ` `
37
+
38
+ NOTE: It requires
39
+ [speculative-branch execution](https://github.com/codechecks/docs/blob/master/configuration.md#speculative-branch-execution)
40
+ feature. So please configure branch priority if you use other branches than ` master`.
41
+
12
42
# # Semaphore CI Known issues
13
43
14
44
Note that passing secrets requires specifying
You can’t perform that action at this time.
0 commit comments