Skip to content

feat: Read Maintenance Window Policies #4879

feat: Read Maintenance Window Policies

feat: Read Maintenance Window Policies #4879

Workflow file for this run

name: Lint golangci
on:
pull_request:
branches:
- main
- feat/**
workflow_dispatch:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout lifecycle-manager
uses: actions/checkout@v4
with:
path: lifecycle-manager
- uses: actions/setup-go@v5
with:
go-version-file: './lifecycle-manager/go.mod'
cache: false
- name: Get configuration
uses: ./lifecycle-manager/.github/actions/get-configuration
id: configuration
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v${{ steps.configuration.outputs.golangci_lint_version }}
args: --verbose
working-directory: ./lifecycle-manager
- name: golangci-lint for api module
uses: golangci/[email protected]
with:
version: v${{ steps.configuration.outputs.golangci_lint_version }}
args: --verbose
working-directory: ./lifecycle-manager/api
- name: golangci-lint for maintenancewindows module
uses: golangci/[email protected]
with:
version: v${{ steps.configuration.outputs.golangci_lint_version }}
args: --verbose
working-directory: ./lifecycle-manager/maintenancewindows