Update irsa docs to follow best practices and address any security co… #25787
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: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '**.go' | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
check-latest: true | |
cache: true | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.56.2 | |
only-new-issues: true | |
# Disable package caching to avoid a double cache with setup-go. | |
skip-pkg-cache: true | |
args: --timeout 10m |