Skip to content

Add support for Managed Database usage endpoint #332

Add support for Managed Database usage endpoint

Add support for Managed Database usage endpoint #332

Workflow file for this run

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