Update go.yml

This commit is contained in:
Doug Lauder 2024-07-09 17:27:44 -04:00 committed by GitHub
parent 3945356888
commit a07a42a753
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,28 +1,22 @@
# This workflow will build a golang project # This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go name: CI Build
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '1.20' go-version: '1.20'
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...
- name: Test - name: Test
run: go test -v ./... run: go test -v ./...