Skip to content

Commit

Permalink
Merge pull request #10 from dahag-ag/go-ci
Browse files Browse the repository at this point in the history
Build Go in CI
  • Loading branch information
jkahrs authored Apr 19, 2024
2 parents 466f2b6 + 9a4fae3 commit 7e242b8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Build Go

on: [ pull_request, push ]

jobs:
build-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install dependencies
run: go get .
- name: Build
run: go build .
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# Ignore the built binary
/cert-manager-webhook-hostingde
/webhook

*.sw[a-p]

Expand Down

0 comments on commit 7e242b8

Please sign in to comment.