Skip to content

Clean up code and add run linters using golanci-lint #112

Clean up code and add run linters using golanci-lint

Clean up code and add run linters using golanci-lint #112

Workflow file for this run

on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: setup env
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@v4
- run: printenv
- run: |
make install-golangci-lint
echo "$PATH"
ls -al "$(go env GOPATH)/bin"
- run: make install-golangci-lint build ginkgo test