Skip to content

Ignore hidden files in batch #1342

Ignore hidden files in batch

Ignore hidden files in batch #1342

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: Lint
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Read Go version
id: go_version
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT
- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.go_version }}
cache: false
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: "v1.54.2"
args: "--timeout=5m"
install-mode: "binary"