File tree 1 file changed +23
-5
lines changed
1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,30 @@ jobs:
20
20
docker-compose up -d minio db redis &&
21
21
docker-compose up -d cworker conductor &&
22
22
docker-compose up minio-prepare
23
- - uses : actions/setup-go@v3
23
+ - uses : actions/setup-go@v5
24
24
with :
25
- go-version : ' 1.20.x'
26
- id : go
27
- - name : Install ffmpeg
28
- uses : FedericoCarboni/setup-ffmpeg@v1-beta
25
+ go-version : ' 1.20'
26
+ - uses : FedericoCarboni/setup-ffmpeg@v3
29
27
id : setup-ffmpeg
28
+ with :
29
+ ffmpeg-version : " 6.1.0"
30
30
- name : Run tests
31
31
run : go test -covermode=count -coverprofile=coverage.out ./...
32
+ golangci :
33
+ name : lint
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v4
37
+ with :
38
+ fetch-depth : 0
39
+ - uses : actions/setup-go@v5
40
+ with :
41
+ go-version : ' 1.20'
42
+ cache : false
43
+ - name : golangci-lint
44
+ uses : golangci/golangci-lint-action@v4
45
+ with :
46
+ # Require: The version of golangci-lint to use.
47
+ # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
48
+ # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
49
+ version : v1.56
You can’t perform that action at this time.
0 commit comments