Merge pull request #6 from here-Leslie-Lau/feature/mongo-debug-support #93
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
name: mongo-plus🔓 | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- 'LICENSE' | |
- '.gitignore' | |
- 'README.md' | |
- 'docs/**' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- 'LICENSE' | |
- '.gitignore' | |
- 'README.md' | |
- 'docs/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 #使用这个action,checkout到虚拟环境 | |
- name: Set up Go🚀 | |
uses: actions/setup-go@v2 # 虚拟环境搭建go环境 | |
with: | |
go-version: '1.20' | |
- name: Golang lint | |
run: make init && make lint |