Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Sep 21, 2023
1 parent 29b4f92 commit 2a25319
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and test cy

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.19"

- name: Build
run: go build -v ./cmd/cy/.

- name: Test
run: go test -v ./pkg/...

0 comments on commit 2a25319

Please sign in to comment.