Skip to content

fix CI problem related to (missing) golang installation #41

fix CI problem related to (missing) golang installation

fix CI problem related to (missing) golang installation #41

Workflow file for this run

# Go Linters - GitHub Actions
name: linters
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.18"
- name: Checkout code
uses: actions/checkout@v2
- name: Install golangci-lint
run: |
go version
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2
- name: Run required linters in .golangci.yml plus hard-coded ones here
run: make lint