Skip to content

add golang linter

add golang linter #1

Workflow file for this run

# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.
name: Run Golang Linter
on:
push:
branches:
- '*'
jobs:
lint_test:

Check failure on line 12 in .github/workflows/linter.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linter.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
path: awm-relayer
- name: Setup Go
- uses: actions/setup-go@v4
with:
go-version: '1.20.7'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
working-directory: .
args: --timeout 10m