Skip to content

upgrade core

upgrade core #287

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- '!v*'
branches:
- '*'
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true