Skip to content

Upgrade

Upgrade #2

Workflow file for this run

# 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
name: Go
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: build
run: go build -v ./...
- name: test
run: go test -v ./...
- name: gofmt
run: exit $(gofmt -l . | wc -l)
- name: vet
run: go vet -all=true -v=true .