Skip to content

add linter

add linter #1

Workflow file for this run

name: Lint and Test golang
on:
pull_request:
push:
branches:
- main
- develop

Check failure on line 10 in .github/workflows/test-go.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-go.yaml

Invalid workflow file

You have an error in your yaml syntax on line 10
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54