chore: updated template files #9
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 apply all changes to the template repository │ | |
# │ │ | |
# └───────────────────────────────────────────────────────────────────┘ | |
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 |