Make sure oc and kubectl commands are available when using linux #18
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: "Linting" | |
on: | |
push: | |
branches: | |
- "*" | |
env: | |
GO_VERSION: "1.18.x" | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
github-token: "${{ github.token }}" | |
working-directory: . | |
version: v1.52.2 |