Skip to content

Re-purposed for linting #1

Re-purposed for linting

Re-purposed for linting #1

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-api-endpoint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.3
- name: Install dependencies
run: go mod tidy
- name: Install and configure golangci-lint
run: |
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint
- name: Lint all .go files
run: |
golangci-lint .