File tree Expand file tree Collapse file tree 3 files changed +56
-2
lines changed Expand file tree Collapse file tree 3 files changed +56
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto CI
2
+ on : [push, pull_request]
3
+ jobs :
4
+ build :
5
+ name : Auto triggered CI job
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : Set up Go 1.18
9
+ uses : actions/setup-go@v3
10
+ with :
11
+ go-version : 1.18
12
+ id : go
13
+ - name : Check out code into the Go module directory
14
+ uses : actions/checkout@v2
15
+ - name : golangci-lint
16
+ uses : golangci/golangci-lint-action@v3
17
+ with :
18
+ version : latest
19
+ - name : Run unit tests
20
+ run : go test ./...
Original file line number Diff line number Diff line change
1
+ name : goreleaser
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ goreleaser :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ -
13
+ name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0
17
+ -
18
+ name : Set up Go
19
+ uses : actions/setup-go@v3
20
+ with :
21
+ go-version : 1.18
22
+ -
23
+ name : Run GoReleaser
24
+ uses : goreleaser/goreleaser-action@v3
25
+ with :
26
+ # either 'goreleaser' (default) or 'goreleaser-pro'
27
+ distribution : goreleaser
28
+ version : latest
29
+ args : release --rm-dist
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
33
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
Original file line number Diff line number Diff line change 1
1
# chromedp-headless-shell-suport-chinese
2
2
3
- using docker to deploy chromedp/headless-shell,and add suport for chinese(install fonts,using mirror etc.)
4
- when all dependencies installed,you can run the following command to try generating pdf using our pre-build app
3
+ using docker to deploy chromedp/headless-shell,and add suport for chinese(install
4
+ fonts,using mirror etc.)when all dependencies installed,you can run the following command
5
+ to try generating pdf using our pre-build app.
5
6
6
7
```bash
7
8
when using linux
You can’t perform that action at this time.
0 commit comments