feat: Read Maintenance Window Policies #4879
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: 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 |