add log module - 2 #17
This file contains hidden or 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: Run golangci-lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: Run golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Print All environment variables | |
run: env | sort | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Install golangci-lint | |
uses: golangci/golangci-lint-action@v7 | |
with: | |
version: latest | |
- name: Run golangci-lint | |
run: golangci-lint run ./... |