Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: setup go
uses: actions/setup-go@v2
uses: actions/setup-go@v6
with:
go-version: 1.16.3
go-version: 1.24.5

- name: cache replays
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: '**/replays'
key: replays
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
golang 1.24.5
1 change: 1 addition & 0 deletions field_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var fieldTypeFactories = map[string]fieldFactory{
"Vector": vectorFactory(3),
"Vector2D": vectorFactory(2),
"Vector4D": vectorFactory(4),
"VectorWS": vectorFactory(3),
"uint64": unsigned64Factory,
"QAngle": qangleFactory,
"CHandle": unsignedFactory,
Expand Down
8 changes: 8 additions & 0 deletions manta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
func BenchmarkMatch2159568145(b *testing.B) { testScenarios[2159568145].bench(b) }

// Test client
func TestMatchNew8552595443(t *testing.T) { testScenarios[8552595443].test(t) }
func TestMatchNew7116386145(t *testing.T) { testScenarios[7116386145].test(t) }
func TestMatchNew7047839963(t *testing.T) { testScenarios[7047839963].test(t) }
func TestMatchNew6841449576(t *testing.T) { testScenarios[6841449576].test(t) }
Expand Down Expand Up @@ -79,6 +80,13 @@ type testScenario struct {
}

var testScenarios = map[int64]testScenario{
8552595443: {
matchId: "8552595443",
replayUrl: "https://s3-us-west-2.amazonaws.com/manta.dotabuff/8552595443.dem",
expectGameBuild: 6601,
expectEntityEvents: 4582723,
expectUnitOrderEvents: 81344,
},
7116386145: {
matchId: "7116386145",
replayUrl: "https://s3-us-west-2.amazonaws.com/manta.dotabuff/7116386145.dem",
Expand Down