Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

deps: update go dependencies #9

deps: update go dependencies

deps: update go dependencies #9

Workflow file for this run

name: Run CI Tests
on: [push]
jobs:
run-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-golang@v1
with:
version-file: go.mod
- name: Run Go Vet
run: |
go vet ./...
- name: Run Go Fmt
run: |
files=$(go fmt ./...)
if [ -n "$files" ]; then
echo "Please run gofmt on these files ..."
echo "$files"
exit 1
fi
- name: Run Go Test
run: |
go test -race -v ./...