mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 16:50:23 +00:00
7b44054a7e
Bumps [github.com/IBM/keyprotect-go-client](https://github.com/IBM/keyprotect-go-client) from 0.9.2 to 0.10.0. - [Release notes](https://github.com/IBM/keyprotect-go-client/releases) - [Changelog](https://github.com/IBM/keyprotect-go-client/blob/master/CHANGELOG.md) - [Commits](https://github.com/IBM/keyprotect-go-client/compare/v0.9.2...v0.10.0) --- updated-dependencies: - dependency-name: github.com/IBM/keyprotect-go-client dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
language: go
|
|
|
|
dist: bionic
|
|
|
|
go:
|
|
- 1.17.x
|
|
- 1.18.x
|
|
- 1.19.x
|
|
|
|
env:
|
|
global:
|
|
- GO111MODULE=on
|
|
|
|
before_install:
|
|
- sudo apt-get update
|
|
- pyenv global 3.8
|
|
|
|
before_script:
|
|
- GO111MODULE=off go get -u github.com/haya14busa/goverage
|
|
|
|
install:
|
|
- go build ./...
|
|
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.49.0
|
|
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
|
|
|
|
script:
|
|
- $GOPATH/bin/goverage -v -race -coverprofile=cover.out $(go list ./... | grep -v '/vendor|/scripts')
|
|
- go tool cover -func=cover.out
|
|
- go tool cover -html=cover.out -o=cover.html
|
|
|
|
# To enable semantic-release, uncomment these sections.
|
|
before_deploy:
|
|
- nvm install node
|
|
- npm install -g npm
|
|
- npm install @semantic-release/changelog
|
|
- npm install @semantic-release/exec
|
|
- npm install @semantic-release/git
|
|
- npm install @semantic-release/github
|
|
- pip install --user bump2version
|
|
#
|
|
deploy:
|
|
- provider: script
|
|
script: npx semantic-release
|
|
skip_cleanup: true
|
|
on:
|
|
go: '1.18.x'
|
|
branch: master |