Skip to content

Basic CI for Go CF Driver #1

Basic CI for Go CF Driver

Basic CI for Go CF Driver #1

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: "CF Driver: Go Build & Test"
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "./runner/cf-driver-go/go.mod"
- name: Format
run: go fmt ./...
- name: Vet
run: go vet ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...