Skip to content

Prometheus adapter #122

Prometheus adapter

Prometheus adapter #122

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
GO_VERSION: '1.17.5'
jobs:
markdown-lint:
runs-on: ubuntu-latest
container: node:14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install mdl
run: apt update && apt-get install ruby-full -y && gem install chef-utils -v 16.6.14 && gem install mdl -v 0.11.0
- name: Lint markdown files
run: find ./ -name "*.md" | grep -v '.github' | xargs mdl -r ~MD001,~MD004,~MD005,~MD006,~MD007,~MD010,~MD013,~MD022,~MD023,~MD024,~MD025,~MD029,~MD031,~MD032,~MD033,~MD034,~MD036
golang-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Golang
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Run go fmt test
run: hack/verify-gofmt.sh
env:
GO111MODULE: auto
- name: Run autoscaler unit test
run: go test -v ./...
- name: Build the autoscaler binariy
run: go build -v ./...