✨ Add ability to control "EKS Auto Mode" for EKS clusters #3563
This file contains hidden or 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: PR golangci-lint | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
# Remove all permissions from GITHUB_TOKEN except metadata. | |
permissions: {} | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
working-directory: | |
- "" | |
steps: | |
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # tag=v4.2.2 | |
- name: Calculate go version | |
id: vars | |
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | |
- name: Set up Go | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0 | |
with: | |
go-version: ${{ steps.vars.outputs.go_version }} | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # tag=v8.0.0 | |
with: | |
version: v2.1.0 | |
working-directory: ${{matrix.working-directory}} | |
- name: Lint API | |
run: make lint-api |