Skip to content

chore: update go.mod #47

chore: update go.mod

chore: update go.mod #47

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
go.*
**/*.go
- name: golangci-lint
if: steps.changed-files.outputs.any_changed == 'true'
uses: golangci/[email protected]
with:
version: v1.48.0