mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2024-12-22 11:06:04 +00:00
8b6a54627d
Signed-off-by: Sebastien THOMAS <sebastien.thomas@wunderkind.co>
26 lines
632 B
YAML
26 lines
632 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'gh-pages'
|
|
pull_request:
|
|
branches-ignore:
|
|
- 'gh-pages'
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.19'
|
|
- run: go version
|
|
- run: go install github.com/mattn/goveralls@latest
|
|
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
|
- run: make build.docker
|
|
- run: make test
|
|
- run: make check
|
|
- run: goveralls -coverprofile=profile.cov -service=github
|
|
env:
|
|
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|