[kwokctl] Set up metrics-usage.yaml as default #7548
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: GolangCI Lint | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
branches: | |
- main | |
env: | |
GO_VERSION: "1.23.0" | |
GOLANGCI_VERSION: "1.60.1" | |
jobs: | |
golangci: | |
name: lint | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v${{ env.GOLANGCI_VERSION }} | |
args: --timeout=8m --config=.golangci.yaml --new --fix |