Skip to content

Bump github.com/vultr/govultr/v3 from 3.1.0 to 3.3.0 #145

Bump github.com/vultr/govultr/v3 from 3.1.0 to 3.3.0

Bump github.com/vultr/govultr/v3 from 3.1.0 to 3.3.0 #145

Workflow file for this run

name: Checks
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Golangci-Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: Install dependencies
run: |
go version
go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Run Lint
run: |
golangci-lint run driver/...
Go-Fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: Run fmt
run: |
gofmt_files=$(gofmt -l driver/.)
if [[ -n ${gofmt_files} ]]; then
echo 'gofmt needs running on the following files:'
echo "${gofmt_files}"
exit 1
fi
exit 0