Skip to content

Fix kubectl_path_documents.md documentation (#172) #119

Fix kubectl_path_documents.md documentation (#172)

Fix kubectl_path_documents.md documentation (#172) #119

Workflow file for this run

name: "Build"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Setup Environment
run: make ci-build-setup
- name: Build
run: make build
test:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Setup Environment
run: make ci-build-setup
- name: Run unit tests
run: make test
testacc:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup Environment
run: make ci-build-setup
- name: Start k3s
run: make k3s-start
- name: Run acceptance tests
run: make testacc
- name: Stop k3s
run: make k3s-stop
fmtcheck:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Setup Environment
run: make ci-build-setup
- name: Format check
run: make fmtcheck
vet:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Setup Environment
run: make ci-build-setup
- name: Run vet
run: make vet