Skip to content

Update dependencies to the latest versions #11

Update dependencies to the latest versions

Update dependencies to the latest versions #11

Workflow file for this run

name: Go Build & Format
on:
pull_request:
push:
branches:
- main
- '*'
tags:
jobs:
build:
name: Build program
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Get dependencies
run: go mod download
- name: Build
run: go build
- name: Verify gofmt
run: X=$(gofmt -s -d .) ; [[ "$X" == "" ]] || (echo "$X" ; exit 1)
shell: bash