Skip to content

Bump actions/checkout from 3 to 4 #185

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #185

Workflow file for this run

name: golangci-lint
env:
SETUP_GO_VERSION: '^1.20'
on:
push:
pull_request:
tags:
- v*
branches:
- 'release/*'
- 'master'
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.SETUP_GO_VERSION }}
- name: Generate Golang
run: |
export PATH=$PATH:/home/runner/go/bin/
- name: golangci-lint
uses: golangci/[email protected]
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.51