Skip to content

Merge pull request #11 from the-hotels-network/version #21

Merge pull request #11 from the-hotels-network/version

Merge pull request #11 from the-hotels-network/version #21

Workflow file for this run

name: Go
on: [push]
jobs:
test:
name: Check code quality and run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Format
run: diff -u <(echo -n) <(gofmt -d ./)
- name: Suspicious constructs
run: go vet ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...