Skip to content

Set typos action version to v1.38.0 #7305

Set typos action version to v1.38.0

Set typos action version to v1.38.0 #7305

Workflow file for this run

name: golangci-lint
on:
schedule:
- cron: '0 5 * * *'
pull_request:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
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@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.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: v2.4.0
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