Skip to content

Update govultr from v3.11.2 to v3.12.0 #435

Update govultr from v3.11.2 to v3.12.0

Update govultr from v3.11.2 to v3.12.0 #435

Workflow file for this run

name: Checks
on:
pull_request:
branches:
- master
jobs:
Golangci-Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: "latest"
args: "cmd/..."
Go-Fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Run fmt
run: |
gofmt_files=$(gofmt -l cmd)
if [[ -n ${gofmt_files} ]]; then
echo 'gofmt needs running on the following files:'
echo "${gofmt_files}"
exit 1
fi
exit 0