Skip to content

build(deps): bump github.com/shoenig/test from 1.7.0 to 1.8.0 #188

build(deps): bump github.com/shoenig/test from 1.7.0 to 1.8.0

build(deps): bump github.com/shoenig/test from 1.7.0 to 1.8.0 #188

Workflow file for this run

name: Run CI Tests
on:
push:
branches:
- main
paths-ignore:
- README.md
- .gitignore
pull_request:
paths-ignore:
- README.md
- .gitignore
jobs:
run-copywrite:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: hashicorp/setup-copywrite@v1.1.2
- name: verify copyright
run: |
copywrite headers --plan
run-lint:
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: hashicorp/setup-golang@v2
with:
version-file: go.mod
- uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: v1.54.0
skip-cache: true
run-tests:
timeout-minutes: 10
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: hashicorp/setup-golang@v2
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 ./...