Update CI configs to v0.3.4

Update lint scripts and CI configs.
This commit is contained in:
Pion
2020-08-24 18:34:53 -07:00
committed by Sean DuBois
parent 71ac5557ab
commit baf53ee92b
2 changed files with 51 additions and 14 deletions
+37
View File
@@ -0,0 +1,37 @@
#
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
# If this repository should have package specific CI config,
# remove the repository name from .goassets/.github/workflows/assets-sync.yml.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
name: Go mod tidy
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
Check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
- name: check
run: |
go mod download
go mod tidy
if ! git diff --exit-code
then
echo "Not go mod tidied"
exit 1
fi
+14 -14
View File
@@ -113,30 +113,30 @@ _test_wasm_job: &test_wasm_job
jobs:
include:
- <<: *lint_job
name: Lint 1.14
go: 1.14
- <<: *test_job
name: Test 1.13
go: 1.13
name: Lint 1.15
go: 1.15
- <<: *test_job
name: Test 1.14
go: 1.14
- <<: *test_i386_job
name: Test i386 1.13
env: GO_VERSION=1.13
go: 1.14 # Go version for host environment only for `go list`.
# All tests are done on the version specified by GO_VERSION.
- <<: *test_job
name: Test 1.15
go: 1.15
- <<: *test_i386_job
name: Test i386 1.14
env: GO_VERSION=1.14
go: 1.14 # Go version for host environment only for `go list`.
go: 1.15 # Go version for host environment only for `go list`.
# All tests are done on the version specified by GO_VERSION.
- <<: *test_i386_job
name: Test i386 1.15
env: GO_VERSION=1.15
go: 1.15 # Go version for host environment only for `go list`.
# All tests are done on the version specified by GO_VERSION.
- <<: *test_wasm_job
name: Test WASM 1.13
env: GO_VERSION=1.13
- <<: *test_wasm_job
name: Test WASM 1.14
env: GO_VERSION=1.14
- <<: *test_wasm_job
name: Test WASM 1.15
env: GO_VERSION=1.15
notifications:
email: false