Skip to content

chippin-added

chippin-added #536

Workflow file for this run

name: Craftgate Go Client CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.0'
cache: true
cache-dependency-path: go.sum
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Go Lint
uses: golangci/golangci-lint-action@v4
- name: Get dependencies
run: |
go get -v -t -d
- name: Build
run: go build -v .
- name: Test
run: go test