Skip to content

[v0.12] Swap bitnami for SUSE registry for codegen helper image #7306

[v0.12] Swap bitnami for SUSE registry for codegen helper image

[v0.12] Swap bitnami for SUSE registry for codegen helper image #7306

Workflow file for this run

name: golangci-lint
on:
schedule:
- cron: '0 5 * * *'
pull_request:
jobs:
golangci:
name: golangci-lint
runs-on: runs-on,runner=4cpu-linux-x64,run-id=${{ github.run_id }}
steps:
- name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version-file: 'go.mod'
check-latest: true
cache: false
- name: Generate Golang
run: |
export PATH=$PATH:/home/runner/go/bin/
- name: golangci-lint
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.64.5
args: --timeout=10m --config=.golangci.json
# Optional: show only new issues if it's a pull request. The default value is `false`.
# The condition sets this to true for PR events.
only-new-issues: "${{ github.event_name == 'pull_request'}}"
skip-cache: true