Skip to content

Less strict versioninig in Dockerfile #7

Less strict versioninig in Dockerfile

Less strict versioninig in Dockerfile #7

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 Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Go get
run: go get -t ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Go Vet
run: go vet $(go list ./... | grep -v /vendor/)
- name: Go Mod
run: go mod tidy; git diff --exit-code go.mod go.sum
- name: Go FMT
run: go fmt $(go list ./... | grep -v /vendor/); git diff --exit-code