resmgr: stop importing kubernetes/kubelet internals. #814
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.20 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- 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 |