Skip to content

Pipeline work

Pipeline work #3

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 get honnef.co/go/tools/cmd/staticcheck
go mod tidy
- name: Lint & Vet
run: |
go vet .
staticcheck .
- name: Validate Build
run: go build .