Skip to content

Update build.yml

Update build.yml #13

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install dependencies
run: |
go get -v -t -d ./...
go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...