Skip to content

Downgrade staticcheck version #2

Downgrade staticcheck version

Downgrade staticcheck version #2

Workflow file for this run

# This workflow will run checks and validate the build
name: GoBuild
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Install Dependencies
run: |
go install honnef.co/go/tools/cmd/staticcheck
go mod tidy
- name: Lint & Vet
run: |
go vet .
staticcheck .
- name: Build Validation
run: go build .