File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #
2+ # DO NOT EDIT THIS FILE DIRECTLY
3+ #
4+ # It is automatically copied from https://github.com/pion/.goassets repository.
5+ # If this repository should have package specific CI config,
6+ # remove the repository name from .goassets/.github/workflows/assets-sync.yml.
7+ #
8+
9+ name : go-mod-fix
10+ on :
11+ push :
12+ branches :
13+ - renovate/*
14+
15+ jobs :
16+ go-mod-fix :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : checkout
20+ uses : actions/checkout@v2
21+ with :
22+ fetch-depth : 2
23+ - name : fix
24+ uses : at-wat/go-sum-fix-action@v0
25+ with :
26+ git_user : Pion Bot
27+ git_email : 59523206+pionbot@users.noreply.github.com
28+ github_token : ${{ secrets.GITHUB_TOKEN }}
29+ commit_style : squash
30+ push : force
Original file line number Diff line number Diff line change 2626 npm : true
2727 yarn : true
2828
29- lint_job : &lint_job
29+ _lint_job : &lint_job
3030 env : CACHE_NAME=lint
3131 before_script :
3232 - |
@@ -39,7 +39,7 @@ lint_job: &lint_job
3939 - bash .github/lint-commit-message.sh
4040 - bash .github/lint-filename.sh
4141 - golangci-lint run ./...
42- test_job : &test_job
42+ _test_job : &test_job
4343 env : CACHE_NAME=test
4444 before_install :
4545 - go mod download
@@ -54,14 +54,10 @@ test_job: &test_job
5454 -v -race ./...
5555 after_success :
5656 - travis_retry bash <(curl -s https://codecov.io/bash) -c -F go
57- test_i386_job : &test_i386_job
57+ _test_i386_job : &test_i386_job
5858 env : CACHE_NAME=test386
5959 language : bash
6060 services : docker
61- install :
62- # i386/golang:1.12-alpine doesn't have git.
63- - echo -e "FROM i386/golang:${GO_VERSION}-alpine\nRUN apk add --no-cache git" > Dockerfile
64- - docker build -t go-tester .
6561 script :
6662 - |
6763 docker run \
@@ -72,11 +68,11 @@ test_i386_job: &test_i386_job
7268 -v ${HOME}/gopath/pkg/mod:/go/pkg/mod \
7369 -v ${HOME}/.cache/go-build:/.cache/go-build \
7470 -w /go/src/github.com/pion/$(basename ${PWD}) \
75- -it go-tester \
71+ -it i386/golang:${GO_VERSION}-alpine \
7672 /usr/local/go/bin/go test \
7773 -tags quic \
7874 -v ./...
79- test_wasm_job : &test_wasm_job
75+ _test_wasm_job : &test_wasm_job
8076 env : CACHE_NAME=wasm
8177 language : node_js
8278 node_js : 12
@@ -107,24 +103,26 @@ test_wasm_job: &test_wasm_job
107103jobs :
108104 include :
109105 - << : *lint_job
110- name : Lint 1.13
111- go : 1.13
112- - << : *test_job
113- name : Test 1.12
114- go : 1.12
106+ name : Lint 1.14
107+ go : 1.14
115108 - << : *test_job
116109 name : Test 1.13
117110 go : 1.13
118- - << : *test_i386_job
119- name : Test i386 1.12
120- env : GO_VERSION=1.12
111+ - << : *test_job
112+ name : Test 1.14
113+ go : 1.14
121114 - << : *test_i386_job
122115 name : Test i386 1.13
123116 env : GO_VERSION=1.13
117+ - << : *test_i386_job
118+ name : Test i386 1.14
119+ env : GO_VERSION=1.14
124120 - << : *test_wasm_job
125121 name : Test WASM 1.13
126- # Requires Go1.13 syscall/js
127122 env : GO_VERSION=1.13
123+ - << : *test_wasm_job
124+ name : Test WASM 1.14
125+ env : GO_VERSION=1.14
128126
129127notifications :
130128 email : false
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ coverage:
1313 patch :
1414 default :
1515 target : 70%
16+ only_pulls : true
1617
1718ignore :
1819 - " examples/*"
You can’t perform that action at this time.
0 commit comments