diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml new file mode 100644 index 0000000..290d149 --- /dev/null +++ b/.github/workflows/develop.yml @@ -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 ./... diff --git a/go.mod b/go.mod index 87a1746..e9ed755 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mohanson/daze -go 1.20 +go 1.21 require ( github.com/godump/doa v0.1.3 diff --git a/protocol/ashe/engine_test.go b/protocol/ashe/engine_test.go index 2eafc8d..b8e2bd6 100644 --- a/protocol/ashe/engine_test.go +++ b/protocol/ashe/engine_test.go @@ -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" ) diff --git a/protocol/baboon/engine_test.go b/protocol/baboon/engine_test.go index c1784ab..76f0f5c 100644 --- a/protocol/baboon/engine_test.go +++ b/protocol/baboon/engine_test.go @@ -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" ) diff --git a/protocol/czar/engine_test.go b/protocol/czar/engine_test.go index b85c8d2..dd88a44 100644 --- a/protocol/czar/engine_test.go +++ b/protocol/czar/engine_test.go @@ -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" ) diff --git a/protocol/dahlia/engine_test.go b/protocol/dahlia/engine_test.go index a62043a..8660995 100644 --- a/protocol/dahlia/engine_test.go +++ b/protocol/dahlia/engine_test.go @@ -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" )