fix(kubeadm): storing kubelet defaults #1133
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: CI | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.0 | |
with: | |
version: v1.54.2 | |
only-new-issues: false | |
args: --timeout 5m --config .golangci.yml | |
diff: | |
name: diff | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
- run: make yaml-installation-file | |
- name: Checking if YAML installer file is not aligned | |
run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi | |
- name: Checking if YAML installer generated untracked files | |
run: test -z "$(git ls-files --others --exclude-standard 2> /dev/null)" | |
- name: Checking if source code is not formatted | |
run: test -z "$(git diff 2> /dev/null)" | |
- run: make apidoc | |
- name: Checking if generated API documentation files are not aligned | |
run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi | |
- name: Checking if generated API documentation generated untracked files | |
run: test -z "$(git ls-files --others --exclude-standard 2> /dev/null)" |