Skip to content

Commit

Permalink
Update CI configs to v0.3.4
Browse files Browse the repository at this point in the history
Update lint scripts and CI configs.
  • Loading branch information
pionbot authored and Sean-Der committed Aug 25, 2020
1 parent 6569cb4 commit 51ebba3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 14 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tidy-check.yaml
Original file line number Diff line number Diff line change
@@ -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
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 51ebba3

Please sign in to comment.