Skip to content

Commit

Permalink
add go_test.yml (#4)
Browse files Browse the repository at this point in the history
add go_test.yml
  • Loading branch information
Marketen authored Mar 28, 2024
1 parent a47446a commit e023e0b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Build and Test

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

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'

- name: Check out code
uses: actions/checkout@v3

- name: Build
run: |
cd ./listener
go build -a -installsuffix cgo -o bin/listener ./src

0 comments on commit e023e0b

Please sign in to comment.