Update CI configs to v0.3.3

Update lint scripts and CI configs.
This commit is contained in:
Pion
2020-07-15 13:39:44 +09:00
committed by Atsushi Watanabe
parent e700347a10
commit f287f49c89
8 changed files with 44 additions and 11 deletions
+12 -1
View File
@@ -1,10 +1,13 @@
#!/usr/bin/env bash
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
set -e
@@ -21,7 +24,15 @@ then
. ${SCRIPT_PATH}/.ci.conf
fi
#
# DO NOT EDIT THIS
#
EXCLUDED_CONTRIBUTORS+=('John R. Bradley' 'renovate[bot]' 'Renovate Bot' 'Pion Bot')
# If you want to exclude a name from all repositories, send a PR to
# https://github.com/pion/.goassets instead of this repository.
# If you want to exclude a name only from this repository,
# add EXCLUDED_CONTRIBUTORS=('name') to .github/.ci.conf
MISSING_CONTRIBUTORS=()
shouldBeIncluded () {
+4 -1
View File
@@ -1,10 +1,13 @@
#!/bin/bash
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+4 -1
View File
@@ -1,10 +1,13 @@
#!/usr/bin/env bash
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
set -e
@@ -1,10 +1,13 @@
#!/usr/bin/env bash
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
set -e
+4 -1
View File
@@ -1,10 +1,13 @@
#!/usr/bin/env bash
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#
# If you want to update the shared CI config, send a PR to
# https://github.com/pion/.goassets instead of this repository.
#
set -e
+4 -1
View File
@@ -1,10 +1,13 @@
#
# DO NOT EDIT THIS FILE DIRECTLY
# 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-fix
on:
+11 -4
View File
@@ -1,10 +1,13 @@
#
# DO NOT EDIT THIS FILE DIRECTLY
# 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.
#
dist: bionic
language: go
@@ -40,7 +43,7 @@ _lint_job: &lint_job
- bash .github/lint-disallowed-functions-in-library.sh
- bash .github/lint-commit-message.sh
- bash .github/lint-filename.sh
- golangci-lint run ./...
- golangci-lint run ${GOLANGCI_LINT_EXRA_ARGS:-} ./...
_test_job: &test_job
env: CACHE_NAME=test
before_install:
@@ -49,6 +52,8 @@ _test_job: &test_job
install:
- go build ./...
script:
# If you want to specify repository specific test packages rule,
# add `TEST_PACKAGES=$(command to list test target packages)` to .github/.ci.conf
- testpkgs=${TEST_PACKAGES:-$(go list ./... | grep -v examples)}
- coverpkgs=$(echo "${testpkgs}" | paste -s -d ',')
- |
@@ -119,11 +124,13 @@ jobs:
- <<: *test_i386_job
name: Test i386 1.13
env: GO_VERSION=1.13
go: 1.14 # version for host environment used to go list
go: 1.14 # 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.14
env: GO_VERSION=1.14
go: 1.14 # version for host environment used to go list
go: 1.14 # 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
+1 -1
View File
@@ -1,5 +1,5 @@
#
# DO NOT EDIT THIS FILE DIRECTLY
# DO NOT EDIT THIS FILE
#
# It is automatically copied from https://github.com/pion/.goassets repository.
#