Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker build
on: [push]

jobs:
build:
docker-build:
# we are using ubuntu as it ships with docker pre-installed
runs-on: ubuntu-latest
steps:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Test & Build

on: [push]

jobs:
go-test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

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

- name: Install Dependencies
run: go install ./

- name: Run Go Tests
run: go test -v ./

- name: Build wrlookup
run: go build -v -o wrlookup ./cmd/wrlookup/main.go

- name: Build wrserver
run: go build -v -o wrserver ./cmd/wrserver/main.go