add lint action #19
@@ -15,12 +15,12 @@ jobs:
|
|||||||
go-version: '1.25.5' # Specify your required Go version
|
go-version: '1.25.5' # Specify your required Go version
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3 # Use the golangci-lint action
|
uses: golangci/golangci-lint-action@v8 # Use the golangci-lint action
|
||||||
with:
|
with:
|
||||||
version: v2.7.2 # Specify the linter version
|
version: v2.7.2 # Specify the linter version
|
||||||
# Optional: additional arguments
|
# Optional: additional arguments
|
||||||
args: --verbose
|
args: --verbose
|
||||||
|
|
||||||
- name: Test with the Go CLI
|
- name: Run go test
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user