better docs #1358
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# IMPORTANT NOTE # | |
# # | |
# This file is synced with https://github.com/atomicgo/template # | |
# Please make changes there. # | |
################################################################## | |
name: Code Analysis | |
on: [push, pull_request] | |
jobs: | |
lint: | |
if: "!contains(github.event.head_commit.message, 'autoupdate')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "stable" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest |