Skip to content

Reimplementation v020 #15

Reimplementation v020

Reimplementation v020 #15

Workflow file for this run

name: Go Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21" # You can adjust this to your project's Go version
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
golangci-lint --version
- name: Run golangci-lint
run: golangci-lint run --timeout=5m