Skip to content

resmgr: stop importing kubernetes/kubelet internals. #816

resmgr: stop importing kubernetes/kubelet internals.

resmgr: stop importing kubernetes/kubelet internals. #816

Workflow file for this run

name: Verify
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
id: go
- name: Install golangci-lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2
- name: Gofmt
run: make format
- name: Build
run: make
- name: Test
run: make test
- name: Golangci-lint
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make golangci-lint
- name: Codecov report
run: bash <(curl -s https://codecov.io/bash)
- name: Build docs
run: |
make site-build
make clean-html
- name: Install gh-pages build dependencies
run: |
pip3 install --user -r docs/requirements.txt
echo "`python3 -m site --user-base`/bin" >> $GITHUB_PATH
- name: Verify update of gh-pages
run: |
git config user.name "Github"
git config user.email "[email protected]"
./scripts/build/update-gh-pages.sh