Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Aug 17, 2023
1 parent 2e42b2b commit c35bf7b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: develop

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Make
run: ./cmd/develop.sh
- name: Test
run: go test -v -p 1 ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mohanson/daze

go 1.20
go 1.21

require (
github.com/godump/doa v0.1.3
Expand Down
2 changes: 1 addition & 1 deletion protocol/ashe/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

const (
EchoServerListenOn = "127.0.0.1:28080"
DazeServerListenOn = "127.0.0.1:21081"
DazeServerListenOn = "127.0.0.1:28081"
Password = "password"
)

Expand Down
2 changes: 1 addition & 1 deletion protocol/baboon/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

const (
EchoServerListenOn = "127.0.0.1:28080"
DazeServerListenOn = "127.0.0.1:21081"
DazeServerListenOn = "127.0.0.1:28081"
Password = "password"
)

Expand Down
2 changes: 1 addition & 1 deletion protocol/czar/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

const (
EchoServerListenOn = "127.0.0.1:28080"
DazeServerListenOn = "127.0.0.1:21081"
DazeServerListenOn = "127.0.0.1:28081"
Password = "password"
)

Expand Down
2 changes: 1 addition & 1 deletion protocol/dahlia/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

const (
EchoServerListenOn = "127.0.0.1:28080"
DazeServerListenOn = "127.0.0.1:21081"
DazeServerListenOn = "127.0.0.1:28081"
DazeClientListenOn = "127.0.0.1:21082"
Password = "password"
)
Expand Down

0 comments on commit c35bf7b

Please sign in to comment.