Skip to content

build(deps): bump tj-actions/changed-files from 37.0.2 to 41.0.0 in /.github/workflows #172

build(deps): bump tj-actions/changed-files from 37.0.2 to 41.0.0 in /.github/workflows

build(deps): bump tj-actions/changed-files from 37.0.2 to 41.0.0 in /.github/workflows #172

Workflow file for this run

name: golangci-lint
on:
workflow_dispatch:
push:
tags-ignore:
- '**'
branches:
- master
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41.0.0
with:
files: |
go.*
**/*.go
- name: golangci-lint
if: steps.changed-files.outputs.any_changed == 'true'
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3