Skip to content

Fix go version

Fix go version #2

Workflow file for this run

on:
push:
branches : [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
golangci-lint run --skip-dirs-use-default --timeout 2m0s