Skip to content

Managed Infrastructure Maintenance Operator - Milestone 1 #10710

Managed Infrastructure Maintenance Operator - Milestone 1

Managed Infrastructure Maintenance Operator - Milestone 1 #10710

Workflow file for this run

name: golang-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
args: -v --timeout 15m
validate-go:
name: validate-go
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make validate-go-action