Skip to content

Commit

Permalink
feat: add basic CI workflow for cf-driver-go
Browse files Browse the repository at this point in the history
  • Loading branch information
zjrgov committed Dec 18, 2024
1 parent f9819e0 commit 4826917
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cf-driver-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 ./...

0 comments on commit 4826917

Please sign in to comment.