[FIX] lint version #12
Workflow file for this run
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 of this workflow | |
name: Go Lint & Test | |
# Triggered on pull request and push events for any branch | |
on: | |
pull_request: | |
branches: | |
- "**" | |
# Defining jobs | |
jobs: | |
# Lint job for Go code | |
lint: | |
name: Lint Go Code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 # Checks out the code | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' # Sets up Go 1.23 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.42.0 # Uses golangci-lint version 1.24.0 |